[evolution-data-server] Do not use uninitialized variable
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Do not use uninitialized variable
- Date: Fri, 9 Jul 2010 07:33:09 +0000 (UTC)
commit 3a76b8ec03ad56a74b551b0ffa66bb0e798c5d39
Author: Milan Crha <mcrha redhat com>
Date: Fri Jul 9 09:32:33 2010 +0200
Do not use uninitialized variable
calendar/libedata-cal/e-cal-backend-cache.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/calendar/libedata-cal/e-cal-backend-cache.c b/calendar/libedata-cal/e-cal-backend-cache.c
index 646c8b2..2e418ef 100644
--- a/calendar/libedata-cal/e-cal-backend-cache.c
+++ b/calendar/libedata-cal/e-cal-backend-cache.c
@@ -69,6 +69,8 @@ get_filename_from_uri (const gchar *uri, ECalSourceType source_type)
break;
}
+ user_cache_dir = e_get_user_cache_dir ();
+
/* Mangle the URI to not contain invalid characters. */
mangled_uri = g_strdelimit (g_strdup (uri), ":/", '_');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]