[evince] [shell] Fix a crash due to an uninitialized variable



commit 677ce2c9e5d684bf74b5dd23dee1303b51e2f6a4
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Wed Oct 7 14:42:52 2009 +0200

    [shell] Fix a crash due to an uninitialized variable
    
    Fixes bgo#597154.

 shell/ev-sidebar-thumbnails.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c
index c3df2d8..78784ed 100644
--- a/shell/ev-sidebar-thumbnails.c
+++ b/shell/ev-sidebar-thumbnails.c
@@ -116,7 +116,7 @@ static EvThumbsSizeCache *
 ev_thumbnails_size_cache_new (EvDocument *document)
 {
 	EvThumbsSizeCache *cache;
-	EvRenderContext *rc;
+	EvRenderContext *rc = NULL;
 	gint i, n_pages;
 	EvThumbsSize *thumb_size;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]