mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 04:56:20 +00:00
Be more explicit about what we are checking
(This removes a crap ton of clang warnings)
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ public:
|
|||||||
if (check[i] == '.' && !SeenDec) {
|
if (check[i] == '.' && !SeenDec) {
|
||||||
SeenDec = true;
|
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
|
// this is ok, do nothin
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user