Remove set but not used variables
Highlighted by clang-15 warnings such as: warning: variable 'index' set but not used [-Wunused-but-set-variable]
This commit is contained in:
parent
6c4010e442
commit
f5e2d044df
6 changed files with 1 additions and 20 deletions
|
|
@ -2167,10 +2167,6 @@ public:
|
|||
|
||||
Parm *p;
|
||||
|
||||
int outputs = 0;
|
||||
if (!is_void)
|
||||
outputs++;
|
||||
|
||||
/* build argument list and type conversion string */
|
||||
idx = 0;
|
||||
p = l;
|
||||
|
|
@ -2180,9 +2176,6 @@ public:
|
|||
continue;
|
||||
}
|
||||
|
||||
if (Getattr(p, "tmap:directorargout") != 0)
|
||||
outputs++;
|
||||
|
||||
String *pname = Getattr(p, "name");
|
||||
String *ptype = Getattr(p, "type");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue