mirror of
https://github.com/swaywm/sway.git
synced 2024-11-04 23:43:14 +00:00
Fix uninitialized variable warning in swaygrab
This commit is contained in:
parent
2ef7cf9e97
commit
0bb872ab70
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue