File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ std::string MsgFilter::filterPath(const std::string &origPath) const
275275 return path;
276276
277277 std::string nvr (sm[/* NVR */ 1 ]);
278- std::string core ( sm[/* core */ 2 ]) ;
278+ path = sm[/* core */ 2 ];
279279
280280 // try to kill the multiple version strings in paths (kernel, OpenLDAP, ...)
281281 nvr.resize (nvr.size () - 1 );
@@ -289,15 +289,15 @@ std::string MsgFilter::filterPath(const std::string &origPath) const
289289#endif
290290
291291 const RE reKill (krnPattern);
292- core = boost::regex_replace (core , reKill, " " );
292+ path = boost::regex_replace (path , reKill, " " );
293293
294294 // quirk for Coverity inconsistency in handling bison-generated file names
295295 std::string suff (sm[/* Bison suffix */ 3 ]);
296296 if (!suff.empty ())
297- core += " .c" ;
297+ path += " .c" ;
298298
299299#if DEBUG_SUBST
300- std::cerr << " filterPath: " << path << " -> " << core << " \n " ;
300+ std::cerr << " filterPath: " << origPath << " -> " << path << " \n " ;
301301#endif
302- return core ;
302+ return path ;
303303}
You can’t perform that action at this time.
0 commit comments