extensions/source/plugin/win/winmgr.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 38bdcbbeebf300bc036bcff4630a002224b55d52 Author: jailletc36 <christophe.jail...@wanadoo.fr> Date: Wed Feb 6 11:13:38 2013 +0100 cppCheck: Variable is reassigned a value before the old one has been used. Change-Id: I42cfb06dd8b6b0ff7d4fec6e3b296fa61302c1c0 Signed-off-by: jailletc36 <christophe.jail...@wanadoo.fr> Reviewed-on: https://gerrit.libreoffice.org/2014 Tested-by: Tomáš Chvátal <tchva...@suse.cz> Reviewed-by: Norbert Thiebaud <nthieb...@gmail.com> diff --git a/extensions/source/plugin/win/winmgr.cxx b/extensions/source/plugin/win/winmgr.cxx index 17f06d3..4f62ecd 100644 --- a/extensions/source/plugin/win/winmgr.cxx +++ b/extensions/source/plugin/win/winmgr.cxx @@ -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(
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits