summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2012-02-12 19:46:40 +0000
committersmatz <smatz@openttd.org>2012-02-12 19:46:40 +0000
commitf4de9b8a371fa1817aa4c0a47d224eb3b9779b0e (patch)
treeda8f2cd92400f841c76e6872d207cdf354cc1342
parente5f21f9a098dd2ea671318c67a2e72401cb438fc (diff)
downloadopenttd-f4de9b8a371fa1817aa4c0a47d224eb3b9779b0e.tar.xz
(svn r23940) -Codechange: remove superfluous semicolons
-rw-r--r--src/company_manager_face.h4
-rw-r--r--src/settingsgen/settingsgen.cpp2
-rw-r--r--src/string_type.h2
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 */