PVS V517: two times the same comparison

Change-Id: I93bfdb8cb09d61f537228c4b0a53ee603240d00d
Reviewed-on: https://review.haiku-os.org/c/1602
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
This commit is contained in:
Adrien Destugues 2019-07-16 18:31:23 +02:00 committed by Stephan Aßmus
parent a6dcaa68a9
commit ca72c6784d

View File

@ -1408,8 +1408,8 @@ FindPanel::BuildAttrQuery(BQuery* query, bool &dynamicDate) const
"true") == 0) { "true") == 0) {
value = 1; value = 1;
} else if (strcasecmp(textControl->Text(), } else if (strcasecmp(textControl->Text(),
"true") == 0) { "false") == 0) {
value = 1; value = 0;
} else } else
value = (uint32)atoi(textControl->Text()); value = (uint32)atoi(textControl->Text());