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:
parent
a6dcaa68a9
commit
ca72c6784d
@ -1408,8 +1408,8 @@ FindPanel::BuildAttrQuery(BQuery* query, bool &dynamicDate) const
|
||||
"true") == 0) {
|
||||
value = 1;
|
||||
} else if (strcasecmp(textControl->Text(),
|
||||
"true") == 0) {
|
||||
value = 1;
|
||||
"false") == 0) {
|
||||
value = 0;
|
||||
} else
|
||||
value = (uint32)atoi(textControl->Text());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user