initialize GError pointers

GLib mandates that you initialize all GError objects with NULL prior
to passing it.
This commit is contained in:
Max Kellermann
2009-01-04 19:51:54 +01:00
parent 530f0b71de
commit 5e6ac50583
4 changed files with 4 additions and 4 deletions

View File

@@ -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);