Skip to content

Commit a673072

Browse files
r-barnesmeta-codesync[bot]
authored andcommitted
[codemod][lowrisk] Remove unused exception parameter from multifeed/leaf5/common/lib/OpenBarUtils.cpp
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. Differential Revision: D87467931
1 parent 559b27e commit a673072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/torchcodec/_core/SingleStreamDecoder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@ AudioFramesOutput SingleStreamDecoder::getFramesPlayedInRangeAudio(
10391039
firstFramePtsSeconds = frameOutput.ptsSeconds;
10401040
}
10411041
frames.push_back(frameOutput.data);
1042-
} catch (const EndOfFileException& e) {
1042+
} catch (const EndOfFileException&) {
10431043
finished = true;
10441044
}
10451045

0 commit comments

Comments
 (0)