Separate status and status_msg local variables

This commit is contained in:
Nigel Tao committed 2020-01-04 11:57:33 +11:00
1 parent fb54ba452f
commit c50f16e58b
10 files changed
+213 -212

No files matched your search

+2 -2
View File
@@ -163,8 +163,8 @@ int main(int argc, char** argv) {
prctl(PR_SET_SECCOMP, SECCOMP_MODE_STRICT);
#endif
const char* status = decode();
int status_code = status ? fail(status) : 0;
const char* status_msg = decode();
int status_code = status_msg ? fail(status_msg) : 0;
#if defined(WUFFS_EXAMPLE_USE_SECCOMP)
// Call SYS_exit explicitly instead of SYS_exit_group implicitly.