Permalink
Browse files

ensure cmd is NULL

  • Loading branch information...
1 parent 21ed708 commit 0198b4346620ab2fc3a999da4aa6dd038b428878 fogobogo committed Dec 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 wakeup.c
View
@@ -41,7 +41,7 @@ struct event_t {
const char *cmd;
};
-static struct event_t event;
+static struct event_t event = { NULL };
char *program_invocation_short_name;
static const char *suspend_cmd = NULL;

0 comments on commit 0198b43

Please sign in to comment.