forked from mirror/OpenTTD
(svn r907) Sprinkle holy ANSI water:
- "inline" must before the return type (and after "static") - Initialise all struct members, not just some of them - Remove (one) spurious semicolon
This commit is contained in:
@@ -288,7 +288,7 @@ static const GameSettingData _game_setting_info[] = {
|
||||
{0,2,1,STR_6839_PERMISSIVE},
|
||||
};
|
||||
|
||||
static bool FORCEINLINE GetBitAndShift(uint32 *b)
|
||||
static inline bool GetBitAndShift(uint32 *b)
|
||||
{
|
||||
uint32 x = *b;
|
||||
*b >>= 1;
|
||||
|
Reference in New Issue
Block a user