mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-25 04:47:55 +00:00
Fix a bug pointed out by the Static Analyzer.
This commit is contained in:
1 parent
20a8ffd955
commit
b000517983
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user