Nikolay Sivov : evr/presenter: Add missing break in get_FramesDrawn() (Coverity).

Alexandre Julliard julliard at winehq.org
Mon Nov 8 15:45:06 CST 2021


Module: wine
Branch: master
Commit: e57e19c2360beb6ec27a65aa75f29d14636cd321
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=e57e19c2360beb6ec27a65aa75f29d14636cd321

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Nov  8 14:57:03 2021 +0300

evr/presenter: Add missing break in get_FramesDrawn() (Coverity).

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/evr/presenter.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/evr/presenter.c b/dlls/evr/presenter.c
index 5f70d173c0b..fd02404b7af 100644
--- a/dlls/evr/presenter.c
+++ b/dlls/evr/presenter.c
@@ -1754,6 +1754,7 @@ static HRESULT WINAPI video_presenter_qualprop_get_FramesDrawn(IQualProp *iface,
         case PRESENTER_STATE_PAUSED:
             if (frames) *frames = presenter->frame_stats.presented;
             else hr = E_POINTER;
+            break;
         default:
             hr = E_NOTIMPL;
     }




More information about the wine-cvs mailing list