瀏覽代碼

tcpops: remove explicit compile warning about unavailable TCP_KEEPIDLE

Daniel-Constantin Mierla 3 年之前
父節點
當前提交
55255570cf
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/modules/tcpops/tcpops.c

+ 0 - 1
src/modules/tcpops/tcpops.c

@@ -168,7 +168,6 @@ int tcpops_keepalive_enable(int fd, int idle, int count, int interval, int close
 			LM_ERR("failed to set keepalive idle interval: %s\n", strerror(errno));
 			LM_ERR("failed to set keepalive idle interval: %s\n", strerror(errno));
 		}
 		}
 #else
 #else
-		#warning "TCP_KEEPIDLE option not supported by this platform"
 		LM_DBG("TCP_KEEPIDLE option not available - ignoring\n");
 		LM_DBG("TCP_KEEPIDLE option not available - ignoring\n");
 #endif
 #endif