From fc662341e6f85da78ada0e443f6116b978f79f22 Mon Sep 17 00:00:00 2001 From: Igor Pavlov <87184205+ip7z@users.noreply.github.com> Date: Tue, 14 May 2024 00:00:00 +0000 Subject: 24.05 --- CPP/Windows/PropVariant.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CPP/Windows/PropVariant.cpp') diff --git a/CPP/Windows/PropVariant.cpp b/CPP/Windows/PropVariant.cpp index 457b1dc..678f970 100644 --- a/CPP/Windows/PropVariant.cpp +++ b/CPP/Windows/PropVariant.cpp @@ -252,6 +252,7 @@ CPropVariant::~CPropVariant() throw() CASE_SIMPLE_VT_VALUES // vt = VT_EMPTY; // it's optional return; + default: break; } ::VariantClear((tagVARIANT *)this); } @@ -296,6 +297,7 @@ HRESULT CPropVariant::Copy(const PROPVARIANT* pSrc) throw() CASE_SIMPLE_VT_VALUES memmove((PROPVARIANT*)this, pSrc, sizeof(PROPVARIANT)); return S_OK; + default: break; } return ::VariantCopy((tagVARIANT *)this, (tagVARIANT *)const_cast(pSrc)); } -- cgit v1.2.3-55-g6feb