Introducing a "native" instruction set so that you do not need to do #ifdef to select the right SIMD set all the time.

Fixing indentation.
Removing some obsolete WARN_UNUSED.
Fixing a weird warning with optind variable.
This commit is contained in:
Daniel Lemire
2019-07-01 14:18:30 -04:00
parent 1b81e7c928
commit aa78b70d69
7 changed files with 50 additions and 42 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ ParsedJson build_parsed_json(const uint8_t *buf, size_t len, bool reallocifneede
ParsedJson pj;
bool ok = pj.allocateCapacity(len);
if(ok) {
(void)json_parse(buf, len, pj, reallocifneeded);
json_parse(buf, len, pj, reallocifneeded);
} else {
std::cerr << "failure during memory allocation " << std::endl;
}