Initialize g_hostname at declaration.

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1784 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Henrik Andersson 2014-02-07 07:33:04 +00:00
parent 0628179dba
commit f9cb55471d

View File

@ -61,7 +61,7 @@ uint8 g_static_rdesktop_salt_16[16] = {
char g_title[64] = ""; char g_title[64] = "";
char *g_username; char *g_username;
char g_hostname[16]; char g_hostname[16] = "";
char g_keymapname[PATH_MAX] = ""; char g_keymapname[PATH_MAX] = "";
unsigned int g_keylayout = 0x409; /* Defaults to US keyboard layout */ unsigned int g_keylayout = 0x409; /* Defaults to US keyboard layout */
int g_keyboard_type = 0x4; /* Defaults to US keyboard layout */ int g_keyboard_type = 0x4; /* Defaults to US keyboard layout */