mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-27 15:46:13 -04: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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user