summaryrefslogtreecommitdiff
path: root/test/account-store-default.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/account-store-default.c')
-rw-r--r--test/account-store-default.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/account-store-default.c b/test/account-store-default.c
index 3f23cf02..32c0fe42 100644
--- a/test/account-store-default.c
+++ b/test/account-store-default.c
@@ -23,6 +23,8 @@
#include <glib.h>
#include <string.h>
+#include "account-store-default.h"
+
#if ENABLE_GNOME_KEYRING
#include <gnome-keyring.h>
@@ -165,7 +167,6 @@ static GKeyFile * default_keyfile (void)
{
GError *error = NULL;
static GKeyFile *keyfile = NULL;
- const gchar *base;
const gchar *path = NULL;
if (keyfile != NULL)
@@ -180,7 +181,7 @@ static GKeyFile * default_keyfile (void)
if (error != NULL)
g_warning ("keyfile '%s' error: %s", path, error->message);
else
- g_warning ("keyfile '%s' error: unknown error");
+ g_warning ("keyfile '%s' error: unknown error", path);
g_key_file_free (keyfile);
g_error_free (error);
@@ -190,7 +191,7 @@ static GKeyFile * default_keyfile (void)
return keyfile;
}
-static gboolean commit_changes ()
+static gboolean commit_changes (void)
{
gsize n = 0;
gchar *data = NULL;