From e611370729dbaab3de75dac62d062bde883cb746 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Tue, 24 Jul 2018 00:01:21 +0200 Subject: [PATCH] itss: Remove a superfluous variable initialization. Signed-off-by: Michael Stefaniuc Signed-off-by: Alexandre Julliard --- dlls/itss/moniker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/itss/moniker.c b/dlls/itss/moniker.c index 0509c9e1a5f..3315b914d34 100644 --- a/dlls/itss/moniker.c +++ b/dlls/itss/moniker.c @@ -287,7 +287,7 @@ static HRESULT WINAPI ITS_IMonikerImpl_GetDisplayName( ITS_IMonikerImpl *This = impl_from_IMoniker(iface); static const WCHAR szFormat[] = { 'm','s','-','i','t','s',':','%','s',':',':','%','s',0 }; - DWORD len = sizeof szFormat / sizeof(WCHAR); + DWORD len; LPWSTR str; TRACE("%p %p %p %p\n", iface, pbc, pmkToLeft, ppszDisplayName);