mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
Be more explicit about what we are checking
(This removes a crap ton of clang warnings)
This commit is contained in:
parent
449b1f9d35
commit
7e7ec8e3d2
@ -126,7 +126,7 @@ public:
|
||||
if (check[i] == '.' && !SeenDec) {
|
||||
SeenDec = true;
|
||||
}
|
||||
else if (i == 0 && (check[i] == '-' || check[i] == '+') && !check[i+1] == 0) {
|
||||
else if (i == 0 && (check[i] == '-' || check[i] == '+') && check[i + 1] != '\0') {
|
||||
// this is ok, do nothin
|
||||
}
|
||||
else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user