commit | 9aad185151097c393acbb997e27c7b074cde012c | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Sun Oct 21 11:45:26 2018 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Sun Oct 21 11:46:14 2018 +0200 |
tree | d5669fa3b4c16e10471ac8f50fcab47b2bdc9ff8 | |
parent | a770f6967b1b1ca765251cbafc149d0451335202 [diff] [blame] |
hnbgw_tx_hnb_register_rej(): Missing return statement Change-Id: I0bdee8ede9ffdc16c16a4f5723acb7b4bceb2158 Fixes: Coverity CID#188869
diff --git a/src/hnbgw_hnbap.c b/src/hnbgw_hnbap.c index 2a19dda..1d50d4d 100644 --- a/src/hnbgw_hnbap.c +++ b/src/hnbgw_hnbap.c
@@ -85,7 +85,10 @@ } else { /* The message was not queued. Destroy the connection right away. */ hnb_context_release(ctx); + return rc; } + + return 0; } static int hnbgw_tx_hnb_register_acc(struct hnb_context *ctx)