diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-11-27 16:01:06 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-11-27 16:01:19 -0500 |
commit | 0bb872ab7097166c11e493fdee91a2bc5caf0c84 (patch) | |
tree | d6a385c3db3a521b70c839b56860bfaacd1960d9 /swaygrab/main.c | |
parent | 2ef7cf9e977008f20be6072b336b0928f02b9f59 (diff) |
Fix uninitialized variable warning in swaygrab
Diffstat (limited to 'swaygrab/main.c')
-rw-r--r-- | swaygrab/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaygrab/main.c b/swaygrab/main.c index 2c169017..99d5f88b 100644 --- a/swaygrab/main.c +++ b/swaygrab/main.c @@ -175,7 +175,7 @@ int main(int argc, char **argv) { } } - char *file, *output; + char *file = NULL, *output = NULL; if (raw) { if (optind >= argc) { sway_abort("Invalid usage. See `man swaygrab` %d %d", argc, optind); |