diff options
Diffstat (limited to 'cores')
-rw-r--r-- | cores/arduino/WString.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cores/arduino/WString.cpp b/cores/arduino/WString.cpp index ed880ce..a0a3b6c 100644 --- a/cores/arduino/WString.cpp +++ b/cores/arduino/WString.cpp @@ -684,7 +684,6 @@ void String::replace(const String& find, const String& replace) } void String::remove(unsigned int index){ - if (index >= len) { return; } int count = len - index; remove(index, count); } |