** Fix for BNC bug #203480
authorSrinivasa Ragavan <sragavan@src.gnome.org>
Wed, 3 Oct 2007 05:32:45 +0000 (05:32 +0000)
committerSrinivasa Ragavan <sragavan@src.gnome.org>
Wed, 3 Oct 2007 05:32:45 +0000 (05:32 +0000)
svn path=/trunk/; revision=8102

servers/exchange/ChangeLog
servers/exchange/storage/exchange-account.c

index 3dbaf8a..a1b811d 100644 (file)
@@ -1,3 +1,10 @@
+2007-10-03  Srinivasa Ragavan  <sragavan@novell.com>
+
+       ** Fix for BNC bug #203480
+
+       * storage/exchange-account.c: Compiler warning for usage of
+       unintialized variable.
+
 2007-09-28  Matthew Barnes  <mbarnes@redhat.com>
 
        * lib/e2k-context.c (write_prop):
index 4092036..68a000b 100644 (file)
@@ -2008,7 +2008,7 @@ exchange_account_get_quota_limit (ExchangeAccount *account)
 int
 exchange_account_check_password_expiry (ExchangeAccount *account)
 {
-       E2kGlobalCatalogEntry *entry; /* This is never set before it's used! */
+       E2kGlobalCatalogEntry *entry=NULL; /* This is never set before it's used! */
        int max_pwd_age_days = -1;
 
        g_return_val_if_fail (EXCHANGE_IS_ACCOUNT (account), 0);