Ack. Note this is not strictly necessary the C-standard says that uninitialized *global* variables get set to 0.
On 12/06/2010 11:49 AM, Alon Levy wrote:
--- server/inputs_channel.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/inputs_channel.c b/server/inputs_channel.c index aeb3796..e4e75b7 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*/
_______________________________________________ Spice-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/spice-devel
