mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 00: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
@@ -118,9 +118,9 @@ static const char* decode() {
|
||||
}
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
const char* status = decode();
|
||||
if (status) {
|
||||
fprintf(stderr, "%s\n", status);
|
||||
const char* status_msg = decode();
|
||||
if (status_msg) {
|
||||
fprintf(stderr, "%s\n", status_msg);
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user