From 69c2825708d1e78225ad2f515b792734443d8247 Mon Sep 17 00:00:00 2001 From: Varun Date: Sat, 7 Mar 2015 16:41:40 +0530 Subject: tdf#39440 cppcheck cleanliness, Fixing basic cpp errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Initialized a non-initialized integer variable which is widely used in if else Change-Id: Ibd99c0baa4cd3d4d409310a9a70dc7b421f6a8b2 Reviewed-on: https://gerrit.libreoffice.org/14780 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- rsc/source/rscpp/cpp6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rsc') diff --git a/rsc/source/rscpp/cpp6.c b/rsc/source/rscpp/cpp6.c index b94c81fe2395..74340ddc2b38 100644 --- a/rsc/source/rscpp/cpp6.c +++ b/rsc/source/rscpp/cpp6.c @@ -584,7 +584,7 @@ DEFBUF* defendel(char* name, int delete) DEFBUF** prevp; char* np; int nhash; - int temp; + int temp=0; int size; for (nhash = 0, np = name; *np != EOS;) -- cgit