From 4ea281a3ccb5bd21e1808d8cb127a91a1bb72691 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 13 Jun 2015 10:09:21 +0200 Subject: cppcheck:redundantAssignment Change-Id: I1167d0ce6b6f6e48309d0551c1d2a283d79546a7 --- unodevtools/source/skeletonmaker/skeletoncommon.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unodevtools') diff --git a/unodevtools/source/skeletonmaker/skeletoncommon.cxx b/unodevtools/source/skeletonmaker/skeletoncommon.cxx index 3569638d3b2a..a4efa32dd943 100644 --- a/unodevtools/source/skeletonmaker/skeletoncommon.cxx +++ b/unodevtools/source/skeletonmaker/skeletoncommon.cxx @@ -36,7 +36,7 @@ namespace skeletonmaker { void printLicenseHeader(std::ostream& o, rtl::OString const & filename) { - sal_Int32 index = -1; + sal_Int32 index; #ifdef SAL_UNX index = filename.lastIndexOf('/'); #else -- cgit v1.2.3