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