Skip to content

Commit

Permalink
prevent warning in release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
scheffle committed Aug 16, 2023
1 parent 61d1393 commit 6ffb8a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vstgui/lib/platform/win32/direct2d/d2dgraphicspath.cpp
Expand Up @@ -340,6 +340,7 @@ void D2DGraphicsPath::finishBuilding ()
sink->EndFigure (D2D1_FIGURE_END_OPEN);
HRESULT res = sink->Close ();
assert (SUCCEEDED (res));
(void)res; // prevent warning in release builds
sink->Release ();
sinkInternal = nullptr;
figureOpen = false;
Expand Down

0 comments on commit 6ffb8a8

Please sign in to comment.