Core/Misc: Fix static analysis issues

Fix some static analysis issues reported by Coverity
This commit is contained in:
jackpoz
2015-01-30 22:32:26 +01:00
parent 829b99cb23
commit 89c535cf2a
2 changed files with 7 additions and 1 deletions

View File

@@ -49,4 +49,10 @@ namespace Trinity
#define ASSERT WPAssert
template <typename T> inline T* ASSERT_NOTNULL(T* pointer)
{
ASSERT(pointer);
return pointer;
}
#endif