dynolog icon indicating copy to clipboard operation
dynolog copied to clipboard

Remove unused exception parameter from hbt/src/perf_event/PerPerfEventsGroupBase.h

Open r-barnes opened this issue 8 months ago • 3 comments

Summary: -Wunused-exception-parameter has identified an unused exception parameter. This diff removes it.

This:

try {
    ...
} catch (exception& e) {
    // no use of e
}

should instead be written as

} catch (exception&) {

If the code compiles, this is safe to land.

Reviewed By: dmm-fb

Differential Revision: D58830840

r-barnes avatar Jun 21 '24 16:06 r-barnes