File tree 1 file changed +5
-5
lines changed
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
275
275
return path;
276
276
277
277
std::string nvr (sm[/* NVR */ 1 ]);
278
- std::string core ( sm[/* core */ 2 ]) ;
278
+ path = sm[/* core */ 2 ];
279
279
280
280
// try to kill the multiple version strings in paths (kernel, OpenLDAP, ...)
281
281
nvr.resize (nvr.size () - 1 );
@@ -289,15 +289,15 @@ std::string MsgFilter::filterPath(const std::string &origPath) const
289
289
#endif
290
290
291
291
const RE reKill (krnPattern);
292
- core = boost::regex_replace (core , reKill, " " );
292
+ path = boost::regex_replace (path , reKill, " " );
293
293
294
294
// quirk for Coverity inconsistency in handling bison-generated file names
295
295
std::string suff (sm[/* Bison suffix */ 3 ]);
296
296
if (!suff.empty ())
297
- core += " .c" ;
297
+ path += " .c" ;
298
298
299
299
#if DEBUG_SUBST
300
- std::cerr << " filterPath: " << path << " -> " << core << " \n " ;
300
+ std::cerr << " filterPath: " << origPath << " -> " << path << " \n " ;
301
301
#endif
302
- return core ;
302
+ return path ;
303
303
}
You can’t perform that action at this time.
0 commit comments