You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Fixes minor issues found by static analyzer
This commit is contained in:
@@ -44,7 +44,7 @@ int sfind(const String &p_text, int p_from) {
|
||||
int src_len = 2;
|
||||
int len = p_text.length();
|
||||
|
||||
if (src_len == 0 || len == 0)
|
||||
if (len == 0)
|
||||
return -1;
|
||||
|
||||
const CharType *src = p_text.c_str();
|
||||
|
||||
Reference in New Issue
Block a user