Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7d8760c authored by Yi Kong's avatar Yi Kong
Browse files

Fix unused-variable warning

The `fixedFpsMode` variable was being redeclared within an `else` block
in `CCodec.cpp`. This shadowed the variable declared in the parent
scope, causing the new local variable to be unused and triggering a
compiler warning.

This change removes the redundant `bool` type specifier, ensuring the
statement correctly assigns a new value to the existing variable
instead of creating a new one. This resolves the unused-variable
warning.

The change is generated by Gemini.

Test: presubmit
Bug: 315246135
Flag: EXEMPT, warning cleanup
Change-Id: I708bd9709c12569ac3c3a703bcffd3426d04cb72
parent 3fc9ec18
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment