diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2014-12-30 09:35:39 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-12-30 09:35:39 +0100 |
commit | 4295203dd67a4c4d0aa0fe1a8b116069542e4474 (patch) | |
tree | a3b2b1e074b7b0838b89b224506fab6818c61acc /config.tests | |
parent | 8f0e84bec513ad28c3ec479053fbc59add3959e1 (diff) | |
parent | aaff94c2df665035addb90714bab4722003894da (diff) |
Merge "Merge remote-tracking branch 'origin/5.4' into dev" into refs/staging/dev
Diffstat (limited to 'config.tests')
-rw-r--r-- | config.tests/unix/glib/glib.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config.tests/unix/glib/glib.cpp b/config.tests/unix/glib/glib.cpp index 692e3173fa..f8abc824c6 100644 --- a/config.tests/unix/glib/glib.cpp +++ b/config.tests/unix/glib/glib.cpp @@ -39,10 +39,11 @@ int main(int, char **) { GMainContext *context; GSource *source; - GPollFD *pollfd; + GPollFD *pollfd = NULL; if (!g_thread_supported()) g_thread_init(NULL); context = g_main_context_default(); + (void)context; source = g_source_new(0, 0); g_source_add_poll(source, pollfd); return 0; |