diff options
author | Rupert Swarbrick <rswarbrick@gmail.com> | 2010-12-17 08:44:58 +0000 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2010-12-20 10:45:24 -0500 |
commit | d006a0c00fc421e7794f85b9aac9a7d8e13e101e (patch) | |
tree | 05bbfc0621967706d05b232de67397cdaa070856 | |
parent | caf7321a9bb4a99b4d60e0d8797aeba0ff7700ab (diff) | |
download | yelp-d006a0c00fc421e7794f85b9aac9a7d8e13e101e.tar.gz |
Minor style fixes.
Removes an unused variable and adds two required headers.
-rw-r--r-- | libyelp/yelp-uri.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libyelp/yelp-uri.c b/libyelp/yelp-uri.c index a5791ddc..b7b55344 100644 --- a/libyelp/yelp-uri.c +++ b/libyelp/yelp-uri.c @@ -25,12 +25,14 @@ #endif #include <string.h> +#include <stdio.h> #include <glib.h> #include <gio/gio.h> #include "yelp-uri.h" #include "yelp-debug.h" +#include "yelp-settings.h" static void yelp_uri_class_init (YelpUriClass *klass); static void yelp_uri_init (YelpUri *uri); @@ -558,7 +560,7 @@ resolve_data_dirs (YelpUri *ret, gchar *filename = NULL; gchar **searchpath = NULL; gint searchi, searchmax; - gint datadir_i, subdir_i, lang_i; + gint datadir_i, lang_i; datadirs = g_new0 (gchar *, g_strv_length ((gchar **) sdatadirs) + 2); datadirs[0] = (gchar *) g_get_user_data_dir (); |