From dfb0751c4aa1beb7d7bcf102b22948d53a228d94 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 17 Jan 2008 11:05:39 +0000 Subject: [PATCH] hush unitialized warnings git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7970 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_gecko.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cl_gecko.c b/cl_gecko.c index cf17d5a5..133def8b 100644 --- a/cl_gecko.c +++ b/cl_gecko.c @@ -733,7 +733,7 @@ qboolean CL_Gecko_Event_Key( clgecko_t *instance, keynum_t key, clgecko_buttonev // determine whether its a keyboard event if( key < K_OTHERDEVICESBEGIN ) { - OSGK_KeyboardEventType mappedtype; + OSGK_KeyboardEventType mappedtype = kePress; unsigned int mappedkey = key; unsigned int i; @@ -764,7 +764,7 @@ qboolean CL_Gecko_Event_Key( clgecko_t *instance, keynum_t key, clgecko_buttonev return osgk_browser_event_key( instance->browser, mappedkey, mappedtype ) != 0; } else if( K_MOUSE1 <= key && key <= K_MOUSE3 ) { - OSGK_MouseButtonEventType mappedtype; + OSGK_MouseButtonEventType mappedtype = meDoubleClick; OSGK_MouseButton mappedbutton; mappedbutton = (OSGK_MouseButton) (mbLeft + (key - K_MOUSE1)); -- 2.39.2