1
0
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:
qarmin
2019-07-07 23:08:51 +02:00
parent d897131ac5
commit 9a77d748c0
26 changed files with 39 additions and 45 deletions

View File

@@ -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();