|
From: Julian S. <se...@so...> - 2018-08-19 07:14:34
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=43833b681df0fff4cc22a082b02c19fae147781c commit 43833b681df0fff4cc22a082b02c19fae147781c Author: Julian Seward <js...@ac...> Date: Sun Aug 19 09:13:30 2018 +0200 supp_pattEQinp: initialise a variable that gcc 7.3.1 + LTO thinks might be used uninitialised. Diff: --- coregrind/m_errormgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coregrind/m_errormgr.c b/coregrind/m_errormgr.c index ebc947d..5dc1725 100644 --- a/coregrind/m_errormgr.c +++ b/coregrind/m_errormgr.c @@ -1829,7 +1829,7 @@ static Bool supp_pattEQinp ( const void* supplocV, const void* addrV, const SuppLoc* supploc = (const SuppLoc*)supplocV; /* PATTERN */ IPtoFunOrObjCompleter* ip2fo = (IPtoFunOrObjCompleter*)inputCompleterV; const HChar* funobjsrc_name; // Fun, Obj, or src file name. - UInt src_lineno; + UInt src_lineno = 0; Bool ret; expandInput(ip2fo, ixInput); |