浏览代码

COMP: Remove unused variable warning

Andy Cedilnik 21 年之前
父节点
当前提交
8732505a17
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Source/CTest/Curl/connect.c

+ 2 - 0
Source/CTest/Curl/connect.c

@@ -174,6 +174,8 @@ int Curl_nonblock(curl_socket_t sockfd,    /* operate on this */
 #endif
 #endif
 
 
 #ifdef HAVE_DISABLED_NONBLOCKING
 #ifdef HAVE_DISABLED_NONBLOCKING
+  (void)nonblock;
+  (void)sockfd;
   return 0; /* returns success */
   return 0; /* returns success */
 #define SETBLOCK 6
 #define SETBLOCK 6
 #endif
 #endif