mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 17:49:14 +00:00
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
|
@ -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…
Reference in a new issue