From e82ebf09d2de04a83d6bcb97ab606a0be2badf46 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 13 Nov 2015 09:51:32 +0100 Subject: -Werror,-Wunused-function Change-Id: Idb8d967348b49d467249d2923829f66044e9891e --- .../customactions/shellextensions/vistaspecial.cxx | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'setup_native') diff --git a/setup_native/source/win32/customactions/shellextensions/vistaspecial.cxx b/setup_native/source/win32/customactions/shellextensions/vistaspecial.cxx index 162d54d0969d..d5e3ce6e5927 100644 --- a/setup_native/source/win32/customactions/shellextensions/vistaspecial.cxx +++ b/setup_native/source/win32/customactions/shellextensions/vistaspecial.cxx @@ -45,24 +45,6 @@ #include #include <../tools/seterror.hxx> - -#ifdef DEBUG -inline void OutputDebugStringFormat( LPCSTR pFormat, ... ) -{ - CHAR buffer[1024]; - va_list args; - - va_start( args, pFormat ); - StringCchVPrintfA( buffer, sizeof(buffer), pFormat, args ); - OutputDebugStringA( buffer ); - va_end(args); -} -#else -static inline void OutputDebugStringFormat( LPCSTR, ... ) -{ -} -#endif - static std::_tstring GetMsiProperty( MSIHANDLE handle, const std::_tstring& sProperty ) { std::_tstring result; -- cgit