Fix uninitialized variable warning in swaygrab

This commit is contained in:
Drew DeVault 2015-11-27 16:01:06 -05:00
parent 2ef7cf9e97
commit 0bb872ab70

View file

@ -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);