summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-03-08 13:53:51 +0100
committerDavid Tardon <dtardon@redhat.com>2012-03-12 08:53:47 +0100
commit9dd2c03c37bb4fa68f7e4a7125a9e610f4151155 (patch)
treefd8cd551bf997e1a2e4e61f51dc52be9c4d797e8 /shell
parentWaE: deleting object of abstract class type with non-virt. destuctor (diff)
downloadcore-9dd2c03c37bb4fa68f7e4a7125a9e610f4151155.tar.gz
core-9dd2c03c37bb4fa68f7e4a7125a9e610f4151155.zip
WaE: deprecated conversion from string constant to 'LPSTR'
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx b/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx
index 07bb501a0be8..a6339f4cb98f 100644
--- a/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx
+++ b/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx
@@ -1223,10 +1223,11 @@ namespace /* private */
*pChar = *( pChar+1 ) ='\0';
HKEY hSubKey;
+ char dummy[] = "";
int rc = RegCreateKeyExA(HKEY_LOCAL_MACHINE,
INDEXING_FILTER_DLLSTOREGISTER,
0,
- "",
+ dummy,
REG_OPTION_NON_VOLATILE,
KEY_WRITE,
0,