diff options
author | Max Kellermann <max@duempel.org> | 2009-01-04 19:51:54 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-04 19:51:54 +0100 |
commit | 5e6ac50583bfe08aaf982eeb4373ff839eabc85e (patch) | |
tree | e58f5fb59ea60c001e1b6e10a12c6968d34e6593 /src/update.c | |
parent | 530f0b71de6d0e44911528eb4e256d165ed77c31 (diff) | |
download | mpd-5e6ac50583bfe08aaf982eeb4373ff839eabc85e.tar.gz mpd-5e6ac50583bfe08aaf982eeb4373ff839eabc85e.tar.xz mpd-5e6ac50583bfe08aaf982eeb4373ff839eabc85e.zip |
initialize GError pointers
GLib mandates that you initialize all GError objects with NULL prior
to passing it.
Diffstat (limited to '')
-rw-r--r-- | src/update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update.c b/src/update.c index 7f5185ccb..ce342b88b 100644 --- a/src/update.c +++ b/src/update.c @@ -653,7 +653,7 @@ static void * update_task(void *_path) static void spawn_update_task(char *path) { - GError *e; + GError *e = NULL; assert(g_thread_self() == main_task); |