[PATCH 7/7] mf: Avoid warning for 'notification' maybe being used uninitialized.
Mathew Hodson
mathew.hodson at gmail.com
Sun Jan 26 03:19:41 CST 2020
Signed-off-by: Mathew Hodson <mathew.hodson at gmail.com>
---
dlls/mf/session.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/mf/session.c b/dlls/mf/session.c
index 7a49401..42d2459 100644
--- a/dlls/mf/session.c
+++ b/dlls/mf/session.c
@@ -2012,7 +2012,7 @@ static HRESULT clock_change_state(struct presentation_clock *clock, enum clock_c
notification = CLOCK_NOTIFY_SET_RATE;
break;
default:
- ;
+ return S_OK;
}
if (FAILED(hr = clock_call_state_change(system_time, param, notification, clock->time_source_sink)))
--
2.7.4
More information about the wine-devel
mailing list