diff options
Diffstat (limited to 'src/scrotty.c')
-rw-r--r-- | src/scrotty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scrotty.c b/src/scrotty.c index 32b2168..30c1dcc 100644 --- a/src/scrotty.c +++ b/src/scrotty.c @@ -79,7 +79,7 @@ static int save (const char *fbpath, const char *imgpath, long width, long height, int raw, void *restrict data) { - int imgfd = -1, fbfd; + int imgfd = -1, fbfd = -1; int saved_errno; /* Open output file. */ |