printers: Fix autoptr object not being initialized to NULL.

Won't cause a problem in this case but should be done for safety.

Introduced in ad226b420c
This commit is contained in:
Robert Ancell 2020-11-02 09:25:04 +13:00
parent f98ed29163
commit 7bbbef5fde

View file

@ -2710,7 +2710,7 @@ get_all_ppds_async (GCancellable *cancellable,
gpointer user_data)
{
GAPData *data;
g_autoptr(GThread) thread;
g_autoptr(GThread) thread = NULL;
g_autoptr(GError) error = NULL;
data = g_new0 (GAPData, 1);