gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 154/219: cmake: restore C89 compatibility of CurlTe


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 154/219: cmake: restore C89 compatibility of CurlTests.c
Date: Wed, 22 May 2019 19:18:13 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 5f8b9fe81d9681033babb4fbcf983304aa7d11c8
Author: Marcel Raad <address@hidden>
AuthorDate: Sat May 11 22:02:39 2019 +0200

    cmake: restore C89 compatibility of CurlTests.c
    
    I broke it in d1b5cf830bfe169745721b21245d2217d2c2453e and
    97de97daefc2ed084c91eff34af2426f2e55e134.
    
    Reported-by: Viktor Szakats
    Ref: 
https://github.com/curl/curl/commit/97de97daefc2ed084c91eff34af2426f2e55e134#commitcomment-33499044
    Closes https://github.com/curl/curl/pull/3868
---
 CMake/CurlTests.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMake/CurlTests.c b/CMake/CurlTests.c
index f7290c398..07b516b4d 100644
--- a/CMake/CurlTests.c
+++ b/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;
 }

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]