fixed compiler warnings

This commit is contained in:
john30
2017-04-09 16:46:22 +02:00
parent a19a38266a
commit 80e6f48cf1
3 changed files with 4 additions and 8 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ void appendJson(ostringstream& output, const string name, const string value, bo
if (!plain) {
const char* str = value.c_str();
char* strEnd = NULL;
double dvalue = strtod(str, &strEnd);
strtod(str, &strEnd);
plain = strEnd && *strEnd;
}
}