summaryrefslogtreecommitdiffstats
path: root/server/inputs_channel.c
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-11-03 01:05:37 +0200
committerAlon Levy <alevy@redhat.com>2010-12-07 21:32:33 +0200
commit86a4a0780dcc82108f3e19fec0b6585e4cd23a46 (patch)
treea1e127b96ad97c4437b7209acf742b1b03fd70ee /server/inputs_channel.c
parent5e13eea73c4bcb620020592cfde16ad6d0c8f895 (diff)
downloadspice-86a4a0780dcc82108f3e19fec0b6585e4cd23a46.tar.gz
spice-86a4a0780dcc82108f3e19fec0b6585e4cd23a46.tar.xz
spice-86a4a0780dcc82108f3e19fec0b6585e4cd23a46.zip
server/inputs_channel: initialize inputs_channel to NULL
Diffstat (limited to 'server/inputs_channel.c')
-rw-r--r--server/inputs_channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/inputs_channel.c b/server/inputs_channel.c
index 54b2e2d7..d2818f25 100644
--- a/server/inputs_channel.c
+++ b/server/inputs_channel.c
@@ -82,7 +82,7 @@ static SpiceTabletInstance *tablet = NULL;
static SpiceTimer *key_modifiers_timer;
-static InputsChannel *inputs_channel;
+static InputsChannel *inputs_channel = NULL;
#define KEY_MODIFIERS_TTL (1000 * 2) /*2sec*/