Skip to content

Commit

Permalink
Remove second half of useless condition.
Browse files Browse the repository at this point in the history
Thanks to Ingo for reviewing!
  • Loading branch information
pulkomandy committed Jul 26, 2015
1 parent 58164f4 commit 209cd3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build/libbe/storage/AppFileInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ BAppFileInfo::SetSignature(const char* signature)
{
// check initialization
status_t error = B_OK;
if (B_OK && InitCheck() != B_OK)
if (InitCheck() != B_OK)
error = B_NO_INIT;
if (error == B_OK) {
if (signature) {
Expand Down

0 comments on commit 209cd3d

Please sign in to comment.