Skip to content
Permalink
Browse files

cmake: restore C89 compatibility of CurlTests.c

I broke it in d1b5cf8 and
97de97d.

Reported-by: Viktor Szakats
Ref: 97de97d#commitcomment-33499044
Closes #3868
  • Loading branch information...
MarcelRaad committed May 11, 2019
1 parent 407408f commit 5f8b9fe81d9681033babb4fbcf983304aa7d11c8
Showing with 2 additions and 2 deletions.
  1. +2 −2 CMake/CurlTests.c
@@ -584,8 +584,8 @@ int fun2(int arg1, int arg2) {
int
main() {
int res3 = c99_vmacro3(1, 2, 3);
(void)res3;
int res2 = c99_vmacro2(1, 2);
(void)res3;
(void)res2;
return 0;
}
@@ -607,8 +607,8 @@ int fun2(int arg1, int arg2) {
int
main() {
int res3 = gcc_vmacro3(1, 2, 3);
(void)res3;
int res2 = gcc_vmacro2(1, 2);
(void)res3;
(void)res2;
return 0;
}

0 comments on commit 5f8b9fe

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