Fix GCC compiler warning about missing enum constant PlatformFile in switch
This commit is contained in:
parent
c11bcdfb40
commit
fb37f3503a
|
@ -146,6 +146,9 @@ bool cppcheck::Platform::platform(cppcheck::Platform::PlatformType type)
|
|||
long_bit = char_bit * sizeof_long;
|
||||
long_long_bit = char_bit * sizeof_long_long;
|
||||
return true;
|
||||
case PlatformFile:
|
||||
// sizes are not set.
|
||||
return false;
|
||||
}
|
||||
// unsupported platform
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue