Commit d28fc1e
[codemod] Remove unused-variable in /fbcode/pytorch/torchcodec/src/torchcodec/decoders/_core/VideoDecoder.cpp
Summary:
[codemod] Remove unused-variable in {filename}
LLVM-15 has a warning `-Wunused-variable` which we treat as an error because it's so often diagnostic of a code issue. Unused variables can compromise readability or, worse, performance.
This diff either (a) removes an unused variable and, possibly, it's associated code or (b) qualifies the variable with `[[maybe_unused]]`.
#buildsonlynotests - Builds are sufficient to verify
- If you approve of this diff, please use the "Accept & Ship" button :-)
Reviewed By: scotts
Differential Revision: D654456911 parent ab79e67 commit d28fc1e
1 file changed
+0
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
835 | 835 | | |
836 | 836 | | |
837 | 837 | | |
838 | | - | |
839 | | - | |
840 | | - | |
841 | | - | |
842 | 838 | | |
843 | 839 | | |
844 | 840 | | |
| |||
1390 | 1386 | | |
1391 | 1387 | | |
1392 | 1388 | | |
1393 | | - | |
1394 | 1389 | | |
1395 | 1390 | | |
1396 | 1391 | | |
| |||
0 commit comments