# HG changeset patch # User Mark Doliner # Date 1139441506 0 # Node ID a0dfbd5c3b03f08311053689e103da84ec8193f0 # Parent 60b863ecd89b5818737ac1963065df63366a8e21 [gaim-migrate @ 15554] Warning fix committer: Tailor Script diff -r 60b863ecd89b -r a0dfbd5c3b03 src/protocols/bonjour/bonjour.c --- a/src/protocols/bonjour/bonjour.c Wed Feb 08 23:13:56 2006 +0000 +++ b/src/protocols/bonjour/bonjour.c Wed Feb 08 23:31:46 2006 +0000 @@ -450,12 +450,16 @@ static void initialize_default_account_values() { +#ifdef _WIN32 char *fullname = NULL; +#else + struct passwd *info; + const char *fullname = NULL; +#endif char *splitpoint = NULL; char hostname[255]; + #ifndef _WIN32 - struct passwd *info; - /* Try to figure out the user's real name */ info = getpwuid(getuid()); if ((info != NULL) && (info->pw_gecos != NULL) && (info->pw_gecos[0] != '\0'))