Skip to content

Commit

Permalink
Fix /analyze error
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Sep 17, 2024
1 parent 154b14f commit 7bef0ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ScreenGrab/ScreenGrab12.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,7 @@ namespace
if (FAILED(hr))
return hr;

_Analysis_assume_(*pStaging);
assert(*pStaging);

// Transition the resource if necessary
Expand Down

0 comments on commit 7bef0ab

Please sign in to comment.