]> granicus.if.org Git - curl/commitdiff
prevent warning for non-SSL builds
authorDaniel Stenberg <daniel@haxx.se>
Mon, 24 Nov 2003 11:44:04 +0000 (11:44 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 24 Nov 2003 11:44:04 +0000 (11:44 +0000)
lib/ssluse.c

index 7419c4583389f5a5b427a59454c75e28b0880f00..8a6b49ae636534179b5caed063f328fdd7a7a038 100644 (file)
@@ -1249,8 +1249,8 @@ Curl_SSLConnect(struct connectdata *conn,
 
   X509_free(connssl->server_cert);
 #else /* USE_SSLEAY */
-  /* this is for "-ansi -Wall -pedantic" to stop complaining!   (rabe) */
-  (void) conn;
+  (void)conn;
+  (void)sockindex;
 #endif
   return retcode;
 }