Skip to content

Commit

Permalink
xmpsdk: Fix dangling pointer warning
Browse files Browse the repository at this point in the history
Signed-off-by: Rosen Penev <[email protected]>
  • Loading branch information
neheb committed Jan 27, 2023
1 parent db0da46 commit 4a735ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmpsdk/src/XMPCore_Impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ extern WXMP_Result void_wResult;
#define WtoXMPDocOps_Ref(docRef) *((const XMPDocOps *)(docRef))
#define WtoXMPDocOps_Ptr(docRef) (((docRef) == 0) ? 0 : (XMPDocOps *)(docRef))

#define IgnoreParam(p) voidVoidPtr = (void*)&p
#define IgnoreParam(p) (void)p

// =================================================================================================
// Version info
Expand Down

0 comments on commit 4a735ef

Please sign in to comment.