Fixed Clang warning "register specifier is deprecated" (issue #102)

This commit is contained in:
Benoit Blanchon
2015-08-26 20:49:24 +02:00
parent a8265a799d
commit 0cf8249b14
4 changed files with 8 additions and 2 deletions

View File

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