mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 13:57:32 +02:00
frontend/define.c, ntharg(), #3/15 drop redundant if', already guarded by while'
This commit is contained in:
@@ -407,7 +407,6 @@ trcopy(struct pnode *tree, char *args, struct pnode *nn)
|
||||
static struct pnode *
|
||||
ntharg(int num, struct pnode *args)
|
||||
{
|
||||
if (num > 1)
|
||||
while (--num > 0) {
|
||||
if (args && args->pn_op && (args->pn_op->op_num != PT_OP_COMMA)) {
|
||||
if (num == 1)
|
||||
|
||||
Reference in New Issue
Block a user