commit | d9b20492f328cd89b618de00374e6999ddf45876 | [log] [tgz] |
---|---|---|
author | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | Mon Nov 06 20:23:12 2017 +0100 |
committer | Tim-Philipp Müller <tim@centricular.com> | Mon Dec 04 10:56:44 2017 +0000 |
tree | 5da6d2e5c7823ff8dea996920c5c637f35a47080 | |
parent | 464f840a2341eef41a221e627e8db146279adda0 [diff] |
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