diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-13 09:51:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-18 17:19:14 +0100 |
commit | e82ebf09d2de04a83d6bcb97ab606a0be2badf46 (patch) | |
tree | 412abaccf22bd46c00cca6f3ddd0ebca8455e465 | |
parent | 4668528dda8b1a71eab1952dec5c95df008b4040 (diff) |
-Werror,-Wunused-function
Change-Id: Idb8d967348b49d467249d2923829f66044e9891e
-rw-r--r-- | setup_native/source/win32/customactions/shellextensions/vistaspecial.cxx | 18 |
1 files changed, 0 insertions, 18 deletions
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 <systools/win32/uwinapi.h> #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; |