diff --git a/common/complete.c b/common/complete.c index 2dab7d1..919e5ab 100644 --- a/common/complete.c +++ b/common/complete.c @@ -277,7 +277,6 @@ struct device_d *dev; struct variable_d *var; struct env_context *c; - char *instr_param; int len; char end = '=', *pos, *dot; char *begin = ""; @@ -317,7 +316,6 @@ devname = xstrndup(instr, dot - instr); - instr_param++; dev = get_device_by_name(devname); free(devname);