Merge pull request #344 from MaddTheSane/staticFix

Fix a bug pointed out by the Static Analyzer.
This commit is contained in:
Kornel committed 2014-06-29 22:50:50 +01:00
commit e2674a7549
1 file changed
+1 -1
+1 -1
View File
@@ -72,7 +72,7 @@ extern int bsdiff(int argc, const char **argv);
static NSDictionary *infoForFile(FTSENT *ent)
{
NSData *hash = hashOfFile(ent);
NSNumber *size = nil;
NSNumber *size = @0;
if (ent->fts_info != FTS_D) {
size = @(ent->fts_statp->st_size);
}