Skip to content

Commit 2d0b499

Browse files
committed
Fix msvc warning
1 parent 22a7f6c commit 2d0b499

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

parallel_hashmap/phmap.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,9 @@ inline ctrl_t* EmptyGroup() {
337337
kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty};
338338

339339
return const_cast<ctrl_t*>(empty_group);
340+
} else {
341+
return nullptr;
340342
}
341-
return nullptr;
342343
}
343344

344345
// --------------------------------------------------------------------------

0 commit comments

Comments
 (0)