initialize GError pointers
GLib mandates that you initialize all GError objects with NULL prior to passing it.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user