Fix unused variables found by Coverity checker
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13892 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e475ce1d6b
commit
e87e94572e
2 changed files with 1 additions and 5 deletions
|
|
@ -1004,7 +1004,6 @@ static String *resolve_create_node_scope(String *cname) {
|
|||
} else {
|
||||
/* now this last part is a class */
|
||||
si = Next(si);
|
||||
ns1 = Swig_symbol_clookup(sname,0);
|
||||
/* or a nested class tree, which is unrolled here */
|
||||
for (; si.item; si = Next(si)) {
|
||||
if (si.item) {
|
||||
|
|
|
|||
|
|
@ -1213,13 +1213,10 @@ static DOH *Preprocessor_replace(DOH *s) {
|
|||
Replaceall(fn, "\\", "\\\\");
|
||||
Printf(ns, "\"%s\"", fn);
|
||||
Delete(fn);
|
||||
} else if ((m = Getattr(symbols, id))) {
|
||||
} else if (Getattr(symbols, id)) {
|
||||
DOH *e;
|
||||
/* Yes. There is a macro here */
|
||||
/* See if the macro expects arguments */
|
||||
/* if (Getattr(m,"args")) {
|
||||
Swig_error(Getfile(id),Getline(id),"Macro arguments expected.\n");
|
||||
} */
|
||||
e = expand_macro(id, 0, s);
|
||||
if (e)
|
||||
Append(ns, e);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue