UI: Wrap unreachable code in comment to fix clang warnings
The branch is never taken and the code acts as documentation for a (possible) future use case. According to YAGNI it could be removed entirely, wrapping it in a comment is the less destructive approach.
This commit is contained in:
parent
5a7b95cd8c
commit
343055c889
1 changed files with 4 additions and 2 deletions
|
|
@ -8370,8 +8370,10 @@ void OBSBasic::GetConfigFPS(uint32_t &num, uint32_t &den) const
|
|||
GetFPSInteger(num, den);
|
||||
else if (type == 2) //"Fraction"
|
||||
GetFPSFraction(num, den);
|
||||
else if (false) //"Nanoseconds", currently not implemented
|
||||
GetFPSNanoseconds(num, den);
|
||||
/*
|
||||
* else if (false) //"Nanoseconds", currently not implemented
|
||||
* GetFPSNanoseconds(num, den);
|
||||
*/
|
||||
else
|
||||
GetFPSCommon(num, den);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue