diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-11-15 11:53:55 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-11-15 11:53:55 +0100 |
commit | c75adc040ca2767545e9cff51575b2ac1706efcd (patch) | |
tree | ab79b8c51ef4a82323400a7f700c884dcea32a70 /libdiskfs | |
parent | f5ba2dee8d589639de0e0df315322e5b312c45c5 (diff) |
libdiskfs: remove dead assignment
Found using the Clang Static Analyzer.
* libdiskfs/io-write.c (diskfs_S_io_write): Remove dead assignment.
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/io-write.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libdiskfs/io-write.c b/libdiskfs/io-write.c index 26e0be43..2967c4c8 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); |