Explorar o código

Fix "unused variable" warning

Comment variable and add TODO mark
bel2125 %!s(int64=5) %!d(string=hai) anos
pai
achega
24cec9ff20
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -16957,7 +16957,7 @@ mg_connect_client2(const char *host,
                    struct mg_error_data *error)
 {
 	int is_ssl, is_ws;
-	void *user_data = (init != NULL) ? init->user_data : NULL;
+	/* void *user_data = (init != NULL) ? init->user_data : NULL; -- TODO */
 
 	if (error != NULL) {
 		error->code = 0;