Skip to content
Browse files

CMake: suppress unused variable warnings

I missed these in commit d1b5cf8.
  • Loading branch information...
MarcelRaad committed May 11, 2019
1 parent 12d655d commit 97de97daefc2ed084c91eff34af2426f2e55e134
Showing with 2 additions and 0 deletions.
  1. +2 −0 CMake/CurlTests.c
@@ -607,7 +607,9 @@ int fun2(int arg1, int arg2) {
main() {
int res3 = gcc_vmacro3(1, 2, 3);
int res2 = gcc_vmacro2(1, 2);
return 0;

2 comments on commit 97de97d


This comment has been minimized.

Copy link

replied May 11, 2019

Really a minor nit, but line (void)res3; breaks C89 compliance, if this standard applies to this particular case, not sure.


This comment has been minimized.

Copy link
Member Author

replied May 11, 2019

Oh, right, thanks - and I also did that in the previous change! Will fix.

Please sign in to comment.
You can’t perform that action at this time.