summaryrefslogtreecommitdiff
path: root/nest/proto.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-04 20:30:36 +0000
committerMartin Mares <mj@ucw.cz>2000-05-04 20:30:36 +0000
commit93a786cb034fdd18b8131a16a6ea3d1cd9bd00de (patch)
tree7880559e8ad6f66b65a0fc97dfdf69f491a00e4a /nest/proto.c
parentc817b9916f1134f687ba53220d607e6e193cf651 (diff)
Removed a lot of unused variables.
Please try compiling your code with --enable-warnings to see them. (The unused parameter warnings are usually bogus, the unused variable ones are very useful, but gcc is unable to control them separately.)
Diffstat (limited to 'nest/proto.c')
-rw-r--r--nest/proto.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/nest/proto.c b/nest/proto.c
index 1af76eae..7b9821af 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -460,7 +460,6 @@ proto_notify_state(struct proto *p, unsigned ps)
}
break;
default:
- error:
bug("Invalid state transition for %s from %s/%s to */%s", p->name, c_states[cs], p_states[ops], p_states[ps]);
}
p->proto_state = ps;