summaryrefslogtreecommitdiffstats
path: root/zebra/zserv.c
diff options
context:
space:
mode:
authorpaul <paul>2006-01-19 20:16:55 +0000
committerpaul <paul>2006-01-19 20:16:55 +0000
commite8e1946edf6ba87ef53832cdceccc39d7f0c3f26 (patch)
treefcdaf92bf4129a8a58825bd21ae841a6b3b2bda8 /zebra/zserv.c
parent779adb0147cfff1a831b08853976342ad2110fcd (diff)
downloadquagga-e8e1946edf6ba87ef53832cdceccc39d7f0c3f26.tar.bz2
quagga-e8e1946edf6ba87ef53832cdceccc39d7f0c3f26.tar.xz
[compiler] miscellaneous trivial compiler warning fixes
2006-01-19 Paul Jakma <paul.jakma@sun.com> * (general) various miscellaneous compiler warning fixes. Remove redundant break statements from switch clauses which return. return from main, not exit, cause it annoys SOS. Remove stray semi-colons which cause empty-statement warnings. * zebra/main.c: (sighup) remove private declaration of external function.
Diffstat (limited to 'zebra/zserv.c')
-rw-r--r--zebra/zserv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/zebra/zserv.c b/zebra/zserv.c
index f8bfcfaa..aa88ab5d 100644
--- a/zebra/zserv.c
+++ b/zebra/zserv.c
@@ -138,7 +138,6 @@ zebra_server_send_message(struct zserv *client)
client->t_suicide = thread_add_event(zebrad.master, zserv_delayed_close,
client, 0);
return -1;
- break;
case BUFFER_EMPTY:
THREAD_OFF(client->t_write);
break;