commit 1ce2f42b0866aca7d8d6859282353be6852cc62e
parent 36dda5d3c78f1e2ccfe60735b662e3fae7c0eeb0
Author: Bastien Dejean <nihilhill@gmail.com>
Date: Wed, 30 Jul 2014 11:47:11 +0200
Initialize redir_fd
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/sxhkd.c b/sxhkd.c
@@ -51,6 +51,7 @@ int main(int argc, char *argv[])
unsigned int max_freq = 0;
motion_interval = 0;
last_motion_time = 0;
+ redir_fd = -1;
while ((opt = getopt(argc, argv, "vhnt:c:r:s:f:")) != (char)-1) {
switch (opt) {