mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Remove redundant Variant-types initializations
This commit is contained in:
@@ -2839,7 +2839,7 @@ String String::substr(int p_from, int p_chars) const {
|
||||
return String(*this);
|
||||
}
|
||||
|
||||
String s = String();
|
||||
String s;
|
||||
s.copy_from_unchecked(&get_data()[p_from], p_chars);
|
||||
return s;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user