From f4de9b8a371fa1817aa4c0a47d224eb3b9779b0e Mon Sep 17 00:00:00 2001 From: smatz Date: Sun, 12 Feb 2012 19:46:40 +0000 Subject: [PATCH] (svn r23940) -Codechange: remove superfluous semicolons --- src/company_manager_face.h | 4 ++-- src/settingsgen/settingsgen.cpp | 2 +- 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 88c0d18aa5..11e0071994 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 7dd8aef431..d975822477 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 10de1e230f..94d4304dfe 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 */