Fix a bug pointed out by the Static Analyzer.

This commit is contained in:
C.W. Betts committed 2014-06-29 15:27:32 -06:00
1 parent 20a8ffd955
commit b000517983
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);
}