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) {
|
"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());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user