diff options
-rw-r--r-- | src/company_manager_face.h | 4 | ||||
-rw-r--r-- | src/settingsgen/settingsgen.cpp | 2 | ||||
-rw-r--r-- | src/string_type.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/company_manager_face.h b/src/company_manager_face.h index 88c0d18aa..11e007199 100644 --- a/src/company_manager_face.h +++ b/src/company_manager_face.h @@ -28,7 +28,7 @@ enum GenderEthnicity { GE_BF = 1 << ETHNICITY_BLACK | 1 << GENDER_FEMALE, ///< A female of African origin (black) 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 */ enum CompanyManagerFaceVariable { @@ -52,7 +52,7 @@ enum CompanyManagerFaceVariable { CMFV_GLASSES, 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 */ struct CompanyManagerFaceBitsInfo { diff --git a/src/settingsgen/settingsgen.cpp b/src/settingsgen/settingsgen.cpp index 7dd8aef43..d97582247 100644 --- a/src/settingsgen/settingsgen.cpp +++ b/src/settingsgen/settingsgen.cpp @@ -44,7 +44,7 @@ void NORETURN CDECL error(const char *s, ...) va_end(va); fprintf(stderr, "FATAL: %s\n", buf); exit(1); -}; +} static const int OUTPUT_BLOCK_SIZE = 16000; ///< Block size of the buffer in #OutputBuffer. diff --git a/src/string_type.h b/src/string_type.h index 10de1e230..94d4304df 100644 --- a/src/string_type.h +++ b/src/string_type.h @@ -51,6 +51,6 @@ enum StringValidationSettings { SVS_ALLOW_NEWLINE = 1 << 1, ///< Allow newlines. 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 */ |