diff options
author | Jan Maria Matejka <mq@ucw.cz> | 2018-09-18 14:21:11 +0200 |
---|---|---|
committer | Jan Maria Matejka <mq@ucw.cz> | 2018-09-18 14:21:11 +0200 |
commit | d4cebc6bbe2a55bd344383fcc27255a12d686195 (patch) | |
tree | d778709a80ad32d5688dc88f2d7639ac304df7df /sysdep | |
parent | d50b0bc437f5ffd0d2c9f843217f8ed098c8d675 (diff) |
No more warnings ...
no more warnings
No more warnings over me
And while it is being compiled all the log is black and white
Release BIRD now and then let it flee
(use the melody of well-known Oh Freedom!)
Diffstat (limited to 'sysdep')
-rw-r--r-- | sysdep/unix/io.c | 12 | ||||
-rw-r--r-- | sysdep/unix/krt.c | 3 |
2 files changed, 8 insertions, 7 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index a960b7f8..4455fc19 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -1128,7 +1128,7 @@ sk_ssh_connect(sock *s) default: return SSH_ERROR; } - } + } /* fallthrough */ case SK_SSH_SERVER_KNOWN: { @@ -1175,7 +1175,7 @@ sk_ssh_connect(sock *s) if (!server_identity_is_ok) return SSH_ERROR; } - } + } /* fallthrough */ case SK_SSH_USERAUTH: { @@ -1191,7 +1191,7 @@ sk_ssh_connect(sock *s) default: return SSH_ERROR; } - } + } /* fallthrough */ case SK_SSH_CHANNEL: { @@ -1199,7 +1199,7 @@ sk_ssh_connect(sock *s) s->ssh->channel = ssh_channel_new(s->ssh->session); if (s->ssh->channel == NULL) return SSH_ERROR; - } + } /* fallthrough */ case SK_SSH_SESSION: { @@ -1215,7 +1215,7 @@ sk_ssh_connect(sock *s) default: return SSH_ERROR; } - } + } /* fallthrough */ case SK_SSH_SUBSYSTEM: { @@ -1234,7 +1234,7 @@ sk_ssh_connect(sock *s) return SSH_ERROR; } } - } + } /* fallthrough */ case SK_SSH_ESTABLISHED: s->ssh->state = SK_SSH_ESTABLISHED; diff --git a/sysdep/unix/krt.c b/sysdep/unix/krt.c index a79df54e..794ebcd0 100644 --- a/sysdep/unix/krt.c +++ b/sysdep/unix/krt.c @@ -784,7 +784,8 @@ krt_got_route_async(struct krt_proto *p, rte *e, int new) switch (e->u.krt.src) { case KRT_SRC_BIRD: - ASSERT(0); /* Should be filtered by the back end */ + /* Should be filtered by the back end */ + bug("BIRD originated routes should not get here."); case KRT_SRC_REDIRECT: if (new) |