mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r23940) -Codechange: remove superfluous semicolons
This commit is contained in:
parent
e5f21f9a09
commit
f4de9b8a37
|
@ -28,7 +28,7 @@ enum GenderEthnicity {
|
||||||
GE_BF = 1 << ETHNICITY_BLACK | 1 << GENDER_FEMALE, ///< A female of African origin (black)
|
GE_BF = 1 << ETHNICITY_BLACK | 1 << GENDER_FEMALE, ///< A female of African origin (black)
|
||||||
GE_END,
|
GE_END,
|
||||||
};
|
};
|
||||||
DECLARE_ENUM_AS_BIT_SET(GenderEthnicity); ///< See GenderRace as a bitset
|
DECLARE_ENUM_AS_BIT_SET(GenderEthnicity) ///< See GenderRace as a bitset
|
||||||
|
|
||||||
/** Bitgroups of the CompanyManagerFace variable */
|
/** Bitgroups of the CompanyManagerFace variable */
|
||||||
enum CompanyManagerFaceVariable {
|
enum CompanyManagerFaceVariable {
|
||||||
|
@ -52,7 +52,7 @@ enum CompanyManagerFaceVariable {
|
||||||
CMFV_GLASSES,
|
CMFV_GLASSES,
|
||||||
CMFV_END,
|
CMFV_END,
|
||||||
};
|
};
|
||||||
DECLARE_POSTFIX_INCREMENT(CompanyManagerFaceVariable);
|
DECLARE_POSTFIX_INCREMENT(CompanyManagerFaceVariable)
|
||||||
|
|
||||||
/** Information about the valid values of CompanyManagerFace bitgroups as well as the sprites to draw */
|
/** Information about the valid values of CompanyManagerFace bitgroups as well as the sprites to draw */
|
||||||
struct CompanyManagerFaceBitsInfo {
|
struct CompanyManagerFaceBitsInfo {
|
||||||
|
|
|
@ -44,7 +44,7 @@ void NORETURN CDECL error(const char *s, ...)
|
||||||
va_end(va);
|
va_end(va);
|
||||||
fprintf(stderr, "FATAL: %s\n", buf);
|
fprintf(stderr, "FATAL: %s\n", buf);
|
||||||
exit(1);
|
exit(1);
|
||||||
};
|
}
|
||||||
|
|
||||||
static const int OUTPUT_BLOCK_SIZE = 16000; ///< Block size of the buffer in #OutputBuffer.
|
static const int OUTPUT_BLOCK_SIZE = 16000; ///< Block size of the buffer in #OutputBuffer.
|
||||||
|
|
||||||
|
|
|
@ -51,6 +51,6 @@ enum StringValidationSettings {
|
||||||
SVS_ALLOW_NEWLINE = 1 << 1, ///< Allow newlines.
|
SVS_ALLOW_NEWLINE = 1 << 1, ///< Allow newlines.
|
||||||
SVS_ALLOW_CONTROL_CODE = 1 << 2, ///< Allow the special control codes.
|
SVS_ALLOW_CONTROL_CODE = 1 << 2, ///< Allow the special control codes.
|
||||||
};
|
};
|
||||||
DECLARE_ENUM_AS_BIT_SET(StringValidationSettings);
|
DECLARE_ENUM_AS_BIT_SET(StringValidationSettings)
|
||||||
|
|
||||||
#endif /* STRING_TYPE_H */
|
#endif /* STRING_TYPE_H */
|
||||||
|
|
Loading…
Reference in New Issue