[PATCH 2/5] cppcheck: variable assigned but never used

Andy Holder andy.m.holder at gmail.com
Sun Jan 23 15:47:56 PST 2011


---
 binfilter/bf_sfx2/source/appl/sfx2_namecont.cxx |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/binfilter/bf_sfx2/source/appl/sfx2_namecont.cxx b/binfilter/bf_sfx2/source/appl/sfx2_namecont.cxx
index c39619b..1493258 100644
--- a/binfilter/bf_sfx2/source/appl/sfx2_namecont.cxx
+++ b/binfilter/bf_sfx2/source/appl/sfx2_namecont.cxx
@@ -624,7 +624,6 @@ namespace SfxContainer_Impl
 /*N*/
 /*N*/ 		INetURLObject aUserBasic60InetObj = aUserBasic60InetObj_1;
 /*N*/         String aFolder60 = aUserBasic60InetObj.GetMainURL( INetURLObject::NO_DECODE );
-/*N*/ 		bool bSecondTime = false;
 /*N*/ 	    if( mxSFI->isFolder( aFolder60 ) )
 /*N*/ 		{
 /*?*/ 			// #110101 Check if Standard folder exists and is complete
@@ -670,7 +669,6 @@ namespace SfxContainer_Impl
 /*?*/ 		}
 /*N*/ 		else
 /*?*/ 		{
-/*?*/ 			bSecondTime = true;
 /*?*/ 			aUserBasic60InetObj = aUserBasic60InetObj_2;
 /*?*/ 			aFolder60 = aUserBasic60InetObj.GetMainURL( INetURLObject::NO_DECODE );
 /*N*/ 		}
-- 
1.7.3.5


--MP_/S_1zzibHa+Aiw7=XvorsHin
Content-Type: text/x-patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename=0003-cppcheck-unused-variable-filters.patch



More information about the LibreOffice mailing list