Jelajahi Sumber

test_https_get_select: fixed usage of uninitialized variable

Evgeny Grin (Karlson2k) 6 tahun lalu
induk
melakukan
710d79a2ea
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      src/testcurl/https/test_https_get_select.c

+ 1 - 0
src/testcurl/https/test_https_get_select.c

@@ -250,6 +250,7 @@ main (int argc, char *const *argv)
   unsigned int errorCount = 0;
   (void)argc;   /* Unused. Silent compiler warning. */
 
+  oneone = 0;
   if (!testsuite_curl_global_init ())
     return 99;
   if (NULL == curl_version_info (CURLVERSION_NOW)->ssl_version)