You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Various fixes detected using PVS-Studio static analyzer.
- Add FIXME tags comments to some unfixed potential bugs - Remove some checks (always false: unsigned never < 0) - Fix some if statements based on reviews. - Bunch of missing `else` statements
This commit is contained in:
committed by
REBELLIOUSX\Rebel_X
parent
0f8c6dd382
commit
f50488a361
@@ -321,7 +321,7 @@ struct RegExNodeClass : public RegExNode {
|
||||
case Type_lower:
|
||||
return ('a' <= c && c <= 'z');
|
||||
case Type_print:
|
||||
return (0x1F < c && c < 0x1F);
|
||||
return (0x20 < c && c < 0x7f);
|
||||
case Type_punct:
|
||||
return (REGEX_NODE_PUNCT.find(c) >= 0);
|
||||
case Type_space:
|
||||
|
||||
Reference in New Issue
Block a user