gstpoll.c: In function 'release_event':
gstpoll.c:239:3: error: suggest parentheses around assignment used as
truth value [-Werror=parentheses]
if (status = WaitForSingleObject (set->wakeup_event, INFINITE)) {
^~
https://bugzilla.gnome.org/show_bug.cgi?id=774108
DWORD status;
SetLastError (0);
errno = 0;
- if (status = WaitForSingleObject (set->wakeup_event, INFINITE)) {
+
+ status = WaitForSingleObject (set->wakeup_event, INFINITE);
+ if (status) {
const gchar *reason = "unknown";
gchar msg[1024] = "<unknown>";
switch (status) {