[yelp] yelp-mallard-document: Fix use of uninitialized variable
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp] yelp-mallard-document: Fix use of uninitialized variable
- Date: Wed, 21 Nov 2012 03:34:25 +0000 (UTC)
commit 8b88fcde3da82df2197568b1172e2d0d2268a882
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Wed Aug 29 14:53:55 2012 +0200
yelp-mallard-document: Fix use of uninitialized variable
https://bugzilla.gnome.org/show_bug.cgi?id=683100
libyelp/yelp-mallard-document.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libyelp/yelp-mallard-document.c b/libyelp/yelp-mallard-document.c
index 8ea5b95..f73780b 100644
--- a/libyelp/yelp-mallard-document.c
+++ b/libyelp/yelp-mallard-document.c
@@ -325,7 +325,6 @@ mallard_think (YelpMallardDocument *mallard)
{
YelpMallardDocumentPrivate *priv = GET_PRIV (mallard);
GError *error = NULL;
- YelpDocument *document;
gboolean editor_mode;
gchar **path;
@@ -345,7 +344,7 @@ mallard_think (YelpMallardDocument *mallard)
error = g_error_new (YELP_ERROR, YELP_ERROR_NOT_FOUND,
_("The directory â%sâ does not exist."),
path[0]);
- yelp_document_error_pending ((YelpDocument *) document, error);
+ yelp_document_error_pending ((YelpDocument *) mallard, error);
g_error_free (error);
goto done;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]