summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-view-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private/caja-view-factory.c')
-rw-r--r--libcaja-private/caja-view-factory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcaja-private/caja-view-factory.c b/libcaja-private/caja-view-factory.c
index ff16981e..abe291c1 100644
--- a/libcaja-private/caja-view-factory.c
+++ b/libcaja-private/caja-view-factory.c
@@ -40,7 +40,7 @@ const CajaViewInfo *
caja_view_factory_lookup (const char *id)
{
GList *l;
- CajaViewInfo *view_info;
+ CajaViewInfo *view_info = NULL;
g_return_val_if_fail (id != NULL, NULL);
@@ -106,7 +106,7 @@ caja_view_factory_get_views_for_uri (const char *uri,
const char *mime_type)
{
GList *l, *res;
- const CajaViewInfo *view_info;
+ const CajaViewInfo *view_info = NULL;
res = NULL;