-Werror,-Wunused-variable (clang-cl)

Change-Id: I829e2d45ac9fabc8fe1a26bebd9e6ce8c2af29c7
This commit is contained in:
Stephan Bergmann
2016-09-23 11:13:56 +02:00
parent 73a346d3e9
commit 78cc97405b

View File

@@ -368,7 +368,6 @@ void MyTestPlugInImpl::initialize( CPPUNIT_NS::TestFactoryRegistry *,
/// Get user home directory.
HKEY hRegKey;
sal_Char PathA[_MAX_PATH];
::rtl::OUString strHome;
if (RegOpenKey(HKEY_CURRENT_USER, "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders", &hRegKey) == ERROR_SUCCESS)
{
LONG lRet, lSize = sizeof(PathA);