From 385986f704e96025cc7111b74094579ceb0b7380 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Wed, 15 Jun 2016 13:04:31 +0200 Subject: [PATCH] Unnecessary BSTR NULL assert before SysStringLen() as the function handles NULL pointers well itself --- include/WinStd/COM.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/WinStd/COM.h b/include/WinStd/COM.h index bf7cd035..fcddd3b0 100644 --- a/include/WinStd/COM.h +++ b/include/WinStd/COM.h @@ -183,7 +183,6 @@ namespace winstd /// inline UINT length() const { - assert(m_h); return SysStringLen(m_h); }