Skip to content

Commit 3211343

Browse files
committed
Deleted redundant null ptr check prior to delete.
Fixes issue bitcoin#338. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=113439460
1 parent 7306ef8 commit 3211343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

table/table.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Status Table::Open(const Options& options,
8282
*table = new Table(rep);
8383
(*table)->ReadMeta(footer);
8484
} else {
85-
if (index_block) delete index_block;
85+
delete index_block;
8686
}
8787

8888
return s;

0 commit comments

Comments
 (0)