Workaround spurious gcc warning [-Woverlength]
warning: string length ‘2241’ is greater than the length ‘509’ ISO C90 compilers are required to support [-Woverlength-strings]
This commit is contained in:
parent
b3cca589ca
commit
9e79d3566b
1 changed files with 1 additions and 2 deletions
|
|
@ -864,9 +864,8 @@ SwigType *SwigType_pop_function_qualifiers(SwigType *t) {
|
||||||
Delete(qualifiers);
|
Delete(qualifiers);
|
||||||
}
|
}
|
||||||
qualifiers = qual;
|
qualifiers = qual;
|
||||||
c = Char(t);
|
|
||||||
}
|
}
|
||||||
assert(strncmp(c, "f(", 2) == 0);
|
assert(Strncmp(t, "f(", 2) == 0);
|
||||||
|
|
||||||
return qualifiers;
|
return qualifiers;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue