Remove redundant Char()

Here $ID is already type const char *.
This commit is contained in:
Olly Betts 2024-09-24 15:23:11 +12:00
parent 0f48d9605f
commit 1c5b689a1a
1 changed files with 1 additions and 1 deletions

View File

@ -6057,7 +6057,7 @@ direct_declarator : idcolon {
$$ = default_decl;
SwigType *t;
Append($OPERATOR, " "); /* intervening space is mandatory */
Append($OPERATOR, Char($ID));
Append($OPERATOR, $ID);
$$.id = Char($OPERATOR);
t = NewStringEmpty();
SwigType_add_function(t,$parms);