gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 127/254: formdata: fix -Wcomma warning


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 127/254: formdata: fix -Wcomma warning
Date: Sat, 17 Jun 2017 16:52:39 +0200

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

ng0 pushed a commit to annotated tag gnurl-7.54.1
in repository gnurl.

commit b875250e32048070401f5a3a23cdd9f47b15e114
Author: Marcel Raad <address@hidden>
AuthorDate: Thu May 11 10:01:58 2017 +0200

    formdata: fix -Wcomma warning
    
    clang 5.0 complains:
    possible misuse of comma operator here [-Wcomma]
    
    Change the comma to a semicolon to fix that.
---
 lib/formdata.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/formdata.c b/lib/formdata.c
index f8a93d594..e48a6276c 100644
--- a/lib/formdata.c
+++ b/lib/formdata.c
@@ -96,7 +96,7 @@ AddHttpPost(char *name, size_t namelength,
     post->contenttype = contenttype;
     post->contentheader = contentHeader;
     post->showfilename = showfilename;
-    post->userp = userp,
+    post->userp = userp;
     post->flags = flags | CURL_HTTPPOST_LARGE;
   }
   else

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



reply via email to

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