mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 16:47:28 +01:00
Separate status and status_msg local variables
This commit is contained in:
1 parent
fb54ba452f
commit
c50f16e58b
10 files changed
+213
-212
No files matched your search
+2
-2
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user