aboutsummaryrefslogtreecommitdiff
path: root/gencode.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-08-09 11:22:41 -0700
committerGuy Harris <guy@alum.mit.edu>2015-08-09 11:22:41 -0700
commit4ad986a1659485b72b4c7bdb7ceba6e8c527c217 (patch)
tree42262da509427d89b788f0b7313918d57bb83103 /gencode.c
parent166ece1867faa24e2e5dc14be12f17677614c86f (diff)
Get rid of unnecessary setting of a variable.
fix2 is modified, unconditionally, before it's used and after it's initialized. Squelches a warning from the Clang static analyzer.
Diffstat (limited to 'gencode.c')
-rw-r--r--gencode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gencode.c b/gencode.c
index 090a8ed3..33bcb484 100644
--- a/gencode.c
+++ b/gencode.c
@@ -5561,7 +5561,7 @@ gen_protochain(v, proto, dir)
int reg2 = alloc_reg();
memset(s, 0, sizeof(s));
- fix2 = fix3 = fix4 = fix5 = 0;
+ fix3 = fix4 = fix5 = 0;
switch (proto) {
case Q_IP: