rabbitmq: removed unreachable code
authorDaniel-Constantin Mierla <miconda@gmail.com>
Fri, 28 Jul 2017 08:07:23 +0000 (10:07 +0200)
committerDaniel-Constantin Mierla <miconda@gmail.com>
Fri, 28 Jul 2017 08:30:19 +0000 (10:30 +0200)
src/modules/rabbitmq/utils.c

index 251ace1..f047262 100644 (file)
@@ -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)