Eliminate a few harmless dead stores.

Quiets warnings from Infer.
This commit is contained in:
Todd C. Miller
2022-11-22 11:18:24 -07:00
parent 2f97da316e
commit f066ff9e01
13 changed files with 19 additions and 19 deletions

View File

@@ -156,7 +156,7 @@ json_append_string(struct json_container *jsonc, const char *str)
break;
}
*cp++ = ch;
*cp++ = '\0';
*cp = '\0';
if (!json_append_buf(jsonc, buf))
debug_return_bool(false);
}