]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CMake: suppress unused variable warnings
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Sat, 11 May 2019 12:17:17 +0000 (14:17 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Sat, 11 May 2019 12:19:02 +0000 (14:19 +0200)
I missed these in commit d1b5cf830bfe169745721b21245d2217d2c2453e.

CMake/CurlTests.c

index 848e0d5d79f606c7ec0c23b7ab5aa74331c25c1e..f7290c39813fb15a14c2ae6554ebb3b37735f2b4 100644 (file)
@@ -607,7 +607,9 @@ int fun2(int arg1, int arg2) {
 int
 main() {
   int res3 = gcc_vmacro3(1, 2, 3);
+  (void)res3;
   int res2 = gcc_vmacro2(1, 2);
+  (void)res2;
   return 0;
 }
 #endif