gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 90/116: mime: fix "Value stored to 'sz' is never re


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 90/116: mime: fix "Value stored to 'sz' is never read" scan-build error
Date: Tue, 05 Dec 2017 14:52:00 +0100

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

ng0 pushed a commit to branch master
in repository gnurl.

commit cd79b531916d1d24d715f8b04b80ee34027d9c83
Author: Daniel Stenberg <address@hidden>
AuthorDate: Mon Nov 20 23:08:59 2017 +0100

    mime: fix "Value stored to 'sz' is never read" scan-build error
---
 lib/mime.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/mime.c b/lib/mime.c
index 07eded723..457000a0b 100644
--- a/lib/mime.c
+++ b/lib/mime.c
@@ -719,8 +719,6 @@ static size_t readback_bytes(mime_state *state,
 {
   size_t sz;
 
-  sz = numbytes - state->offset;
-
   if(numbytes > state->offset) {
     sz = numbytes - state->offset;
     bytes += state->offset;

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



reply via email to

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