Fixed many cpplint warnings

This commit is contained in:
Benoit Blanchon committed 2014-10-24 00:08:25 +02:00
1 parent 7f22a1ab39
commit 8071434515
7 files changed
+33 -33

No files matched your search

+2 -2
View File
@@ -102,8 +102,8 @@ JsonNode *JsonParser::parseNumber() {
char *endOfLong;
long longValue = strtol(_ptr, &endOfLong, 10);
if (*endOfLong == '.') // stopped on a decimal separator
{
if (*endOfLong == '.') {
// stopped on a decimal separator
double value = strtod(_ptr, &_ptr);
int decimals = _ptr - endOfLong - 1;
return _buffer->createDoubleNode(value, decimals);