Kaydet (Commit) 38bdcbbe authored tarafından jailletc36's avatar jailletc36 Kaydeden (comit) Norbert Thiebaud

cppCheck: Variable is reassigned a value before the old one has been used.

Change-Id: I42cfb06dd8b6b0ff7d4fec6e3b296fa61302c1c0
Signed-off-by: 's avatarjailletc36 <christophe.jaillet@wanadoo.fr>
Reviewed-on: https://gerrit.libreoffice.org/2014Tested-by: 's avatarTomáš Chvátal <tchvatal@suse.cz>
Reviewed-by: 's avatarNorbert Thiebaud <nthiebaud@gmail.com>
üst 1a3c90a2
......@@ -160,7 +160,7 @@ static void add_IE_Plugins( PluginLocationMap & rPlugins )
static void add_NS_keys( HKEY hKey, PluginLocationMap & rPlugins )
{
TCHAR value[MAX_PATH];
DWORD dwType, size = sizeof(value);
DWORD dwType, size;
// 4.7
size = sizeof(value);
......@@ -219,7 +219,7 @@ static void add_NS_lookupRecursive( HKEY hKey, PluginLocationMap & rPlugins )
static void add_MozPlugin( HKEY hKey, PluginLocationMap & rPlugins )
{
TCHAR value[MAX_PATH];
DWORD dwType, size = sizeof(value);
DWORD dwType, size;
size = sizeof(value);
if (::RegQueryValueEx(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment