diff --git a/Examples/test-suite/abstract_signature.i b/Examples/test-suite/abstract_signature.i index 5d68fd0a9..8d4199844 100644 --- a/Examples/test-suite/abstract_signature.i +++ b/Examples/test-suite/abstract_signature.i @@ -7,8 +7,8 @@ class abstract_foo { public: - abstract_foo() { }; - virtual ~abstract_foo() { }; + abstract_foo() { } + virtual ~abstract_foo() { } virtual int meth(int meth_param) = 0; }; @@ -16,9 +16,9 @@ public: class abstract_bar : public abstract_foo { public: - abstract_bar() { }; + abstract_bar() { } - virtual ~abstract_bar() { }; + virtual ~abstract_bar() { } virtual int meth(int meth_param) = 0; int meth(int meth_param_1, int meth_param_2) { return 0; } }; diff --git a/Examples/test-suite/template_arg_replace.i b/Examples/test-suite/template_arg_replace.i index 25274c9ab..d887c2661 100644 --- a/Examples/test-suite/template_arg_replace.i +++ b/Examples/test-suite/template_arg_replace.i @@ -6,7 +6,7 @@ template class test_Matrix { public: - void Func(const test_Matrix &m) { }; + void Func(const test_Matrix &m) { } }; %} diff --git a/Examples/test-suite/template_default_vw.i b/Examples/test-suite/template_default_vw.i index 429ed301e..ed207125c 100644 --- a/Examples/test-suite/template_default_vw.i +++ b/Examples/test-suite/template_default_vw.i @@ -13,7 +13,7 @@ public: typedef Handle hSomeClass; class AnotherClass { public: - void someFunc( hSomeClass a = hSomeClass() ) { }; + void someFunc( hSomeClass a = hSomeClass() ) { } }; %} diff --git a/Examples/test-suite/valuewrapper_base.i b/Examples/test-suite/valuewrapper_base.i index 63471bbc8..5107a3c9b 100644 --- a/Examples/test-suite/valuewrapper_base.i +++ b/Examples/test-suite/valuewrapper_base.i @@ -12,7 +12,7 @@ template struct Interface_ : Base { - Interface_(const Base& b) { }; + Interface_(const Base& b) { } }; template diff --git a/Source/Modules/javascript.cxx b/Source/Modules/javascript.cxx index 2d6535972..b0a699fb6 100644 --- a/Source/Modules/javascript.cxx +++ b/Source/Modules/javascript.cxx @@ -166,7 +166,7 @@ public: */ virtual int exitClass(Node *) { return SWIG_OK; - }; + } /** * Invoked at the beginning of the variableHandler. @@ -178,7 +178,7 @@ public: */ virtual int exitVariable(Node *) { return SWIG_OK; - }; + } /** * Invoked at the beginning of the functionHandler. @@ -190,7 +190,7 @@ public: */ virtual int exitFunction(Node *) { return SWIG_OK; - }; + } /** * Invoked by functionWrapper callback after call to Language::functionWrapper. diff --git a/Source/Modules/tcl8.cxx b/Source/Modules/tcl8.cxx index fcf36d17d..d90d1d3b1 100644 --- a/Source/Modules/tcl8.cxx +++ b/Source/Modules/tcl8.cxx @@ -889,7 +889,7 @@ public: // Add methods if (have_methods) { Printv(ptrclass, imethods, NIL); - }; + } // Close out the pointer class Printv(ptrclass, "}\n\n", NIL); @@ -947,7 +947,7 @@ public: if (!itcl) { Printv(cmd_tab, tab4, "{ SWIG_prefix \"", class_name, "\", (swig_wrapper_func) SWIG_ObjectConstructor, (ClientData)&_wrap_class_", mangled_classname, "},\n", NIL); - }; + } Delete(t); Delete(mangled_classname); @@ -1023,7 +1023,7 @@ public: Printv(imethods, "{ ", ns_name, "::", class_name, "_", realname, " $swigobj", NIL); } else { Printv(imethods, "{ ", class_name, "_", realname, " $swigobj", NIL); - }; + } pnum = 0; for (p = l; p; p = nextSibling(p)) { diff --git a/Tools/javascript/jsc_shell.cxx b/Tools/javascript/jsc_shell.cxx index c173c147f..f17744ad6 100644 --- a/Tools/javascript/jsc_shell.cxx +++ b/Tools/javascript/jsc_shell.cxx @@ -18,7 +18,7 @@ typedef int (*JSCIntializer)(JSGlobalContextRef context, JSObjectRef *module); public: - JSCShell() { context = 0; }; + JSCShell() { context = 0; } virtual ~JSCShell(); diff --git a/Tools/javascript/v8_shell.cxx b/Tools/javascript/v8_shell.cxx index b74dd7d2b..336edb2a6 100644 --- a/Tools/javascript/v8_shell.cxx +++ b/Tools/javascript/v8_shell.cxx @@ -257,7 +257,7 @@ SwigV8ReturnValue V8Shell::Require(const SwigV8Arguments &args) { if (args.Length() != 1) { printf("Illegal arguments for `require`"); - }; + } v8::String::Utf8Value str(args[0]); const char *cstr = V8Shell::ToCString(str);