forked from bblanchon/ArduinoJson
Fixed Clang warning "register specifier is deprecated" (issue #102)
This commit is contained in:
1 parent
a8265a799d
commit
0cf8249b14
4 files changed
+8
-2
No files matched your search
@@ -16,7 +16,7 @@ using namespace ArduinoJson;
|
||||
using namespace ArduinoJson::Internals;
|
||||
|
||||
bool JsonParser::skip(char charToSkip) {
|
||||
register const char *ptr = skipSpacesAndComments(_readPtr);
|
||||
const char *ptr = skipSpacesAndComments(_readPtr);
|
||||
if (*ptr != charToSkip) return false;
|
||||
ptr++;
|
||||
_readPtr = skipSpacesAndComments(ptr);
|
||||
|
||||
Reference in new issue
Block a user