[Bug 789983] gstdevicemonitor: Avoid maybe-uninitialized error
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Dec 4 10:58:16 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=789983
Tim-Philipp Müller <t.i.m at zen.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |t.i.m at zen.co.uk
Resolution|--- |FIXED
Target Milestone|git master |1.13.1
--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Thanks, pushed with modifications - I wasn't entirely convinced that inverting
the hidden check makes the code clearer. Hope you don't mind :)
commit d9b20492f328cd89b618de00374e6999ddf45876 (HEAD -> master)
Author: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
Date: Mon Nov 6 20:23:12 2017 +0100
devicemonitor: Avoid maybe-uninitialized compiler warning
On Arch Linux x86_64, gcc 7.2.0-3, -Og -g3:
gstdevicemonitor.c: In function ‘bus_sync_message’:
gstdevicemonitor.c:276:8: error: ‘matches’ may be used uninitialized in
this function [-Werror=maybe-uninitialized]
This commit also simplifies the code a bit.
https://bugzilla.gnome.org/show_bug.cgi?id=789983
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list