Module: kamailio
Branch: master
Commit: f0939447e0099f8e5ef87cfbda6ea21ed7af9800
URL: 
https://github.com/kamailio/kamailio/commit/f0939447e0099f8e5ef87cfbda6ea21ed7af9800

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2017-07-28T10:30:19+02:00

rabbitmq: removed unreachable code

---

Modified: src/modules/rabbitmq/utils.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/f0939447e0099f8e5ef87cfbda6ea21ed7af9800.diff
Patch: 
https://github.com/kamailio/kamailio/commit/f0939447e0099f8e5ef87cfbda6ea21ed7af9800.patch

---

diff --git a/src/modules/rabbitmq/utils.c b/src/modules/rabbitmq/utils.c
index 251ace13ed..f047262a82 100644
--- a/src/modules/rabbitmq/utils.c
+++ b/src/modules/rabbitmq/utils.c
@@ -102,9 +102,6 @@ int log_on_amqp_error(amqp_rpc_reply_t x, char const 
*context)
                        LM_ERR("%s: unknown reply type 0x%08X\n", context, 
x.reply_type);
                        return x.reply_type;
        }
-
-       LM_ERR("%s: unknown reply type, method id 0x%08X - should not reach 
here!\n", context, x.reply_type);
-       return x.reply_type;
 }
 
 static void dump_row(long count, int numinrow, int *chs)


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to