commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 18/98: libdiskfs: remove dead assignment


From: Samuel Thibault
Subject: [hurd] 18/98: libdiskfs: remove dead assignment
Date: Tue, 14 Jan 2014 01:59:59 +0000

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

sthibault pushed a commit to branch upstream
in repository hurd.

commit c75adc040ca2767545e9cff51575b2ac1706efcd
Author: Justus Winter <address@hidden>
Date:   Fri Nov 15 11:53:55 2013 +0100

    libdiskfs: remove dead assignment
    
    Found using the Clang Static Analyzer.
    
    * libdiskfs/io-write.c (diskfs_S_io_write): Remove dead assignment.
---
 libdiskfs/io-write.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libdiskfs/io-write.c b/libdiskfs/io-write.c
index 26e0be4..2967c4c 100644
--- a/libdiskfs/io-write.c
+++ b/libdiskfs/io-write.c
@@ -56,7 +56,6 @@ diskfs_S_io_write (struct protid *cred,
       goto out;
     }
 
-  err = 0;
   while (off + (off_t) datalen > np->allocsize)
     {
       err = diskfs_grow (np, off + datalen, cred);

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

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