Skip to content

Commit 7bef0ab

Browse files
committed
Fix /analyze error
1 parent 154b14f commit 7bef0ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ScreenGrab/ScreenGrab12.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,7 @@ namespace
811811
if (FAILED(hr))
812812
return hr;
813813

814+
_Analysis_assume_(*pStaging);
814815
assert(*pStaging);
815816

816817
// Transition the resource if necessary

0 commit comments

Comments
 (0)