Warning fixes in test-suite

This commit is contained in:
William S Fulton 2014-05-24 10:29:34 +01:00
parent 10cbd2781f
commit ab86f8a8f5
3 changed files with 9 additions and 9 deletions

View File

@ -45,7 +45,7 @@ public:
%template(QueryInterfaceObjct) Objct::QueryInterface<Objct>;
#endif
}; // namespace
} // namespace
%}

View File

@ -3,7 +3,7 @@
%inline %{
// Named types
/* Named types */
struct StructA {
int x;
} instanceA1;

View File

@ -43,8 +43,8 @@ $1 = 0;
/* Correct typemap for $symname: $type */
}
%inline %{
void func1a(myarray x) {};
void func1b(volatile myarray x) {};
void func1a(myarray x) {}
void func1b(volatile myarray x) {}
%}
CLEAR_SWIGTYPE_TYPEMAPS;
@ -57,9 +57,9 @@ $1 = 0;
/* Correct typemap for $symname: $type */
}
%inline %{
void func2a(const myarray x) {};
void func2b(const myconstarray x) {};
void func2c(const volatile myconstarray x) {};
void func2a(const myarray x) {}
void func2b(const myconstarray x) {}
void func2c(const volatile myconstarray x) {}
%}
CLEAR_SWIGTYPE_TYPEMAPS;
@ -72,7 +72,7 @@ $1 = 0;
/* Correct typemap for $symname: $type */
}
%inline %{
void func3a(const mycrazyarray x, const mycrazyarray y[7]) {};
void func3a(const mycrazyarray x, const mycrazyarray y[7]) {}
%}
CLEAR_SWIGTYPE_TYPEMAPS;
@ -81,5 +81,5 @@ $1 = 0;
/* Correct typemap for $symname: $type */
}
%inline %{
void func4a(mycrazyfunc *const x, const mycrazyfuncptr y) {};
void func4a(mycrazyfunc *const x, const mycrazyfuncptr y) {}
%}