Suppress incorrect 'unused value' bison warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11778 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f65ad1caca
commit
7bcc069982
1 changed files with 2 additions and 0 deletions
|
|
@ -3495,6 +3495,7 @@ cpp_class_decl : storage_class cpptype idcolon inherit LBRACE {
|
|||
inclass = 1;
|
||||
}
|
||||
} cpp_members RBRACE cpp_opt_declarators {
|
||||
(void) $<node>6;
|
||||
if (nested_template == 0) {
|
||||
Node *p;
|
||||
SwigType *ty;
|
||||
|
|
@ -3656,6 +3657,7 @@ cpp_class_decl : storage_class cpptype idcolon inherit LBRACE {
|
|||
} cpp_members RBRACE declarator initializer c_decl_tail {
|
||||
String *unnamed;
|
||||
Node *n;
|
||||
(void) $<node>4;
|
||||
Classprefix = 0;
|
||||
$$ = class_decl[--class_level];
|
||||
inclass = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue