remove unneeded Char
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
1e733be4d9
commit
c338787d04
1 changed files with 1 additions and 1 deletions
|
|
@ -462,7 +462,7 @@ SwigType_del_qualifier(SwigType *t) {
|
||||||
char *c = Char(t);
|
char *c = Char(t);
|
||||||
int check = strncmp(c,"q(",2);
|
int check = strncmp(c,"q(",2);
|
||||||
assert(check == 0);
|
assert(check == 0);
|
||||||
Delslice(t,0,element_size(Char(t)));
|
Delslice(t,0,element_size(c));
|
||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue