From d9794a720a1c634ce2462b9a5fc2eb8dd8bfaf50 Mon Sep 17 00:00:00 2001 From: mmichelson Date: Mon, 20 Aug 2007 16:17:43 +0000 Subject: Found a pointless ternary if. member->dynamic was set to 1 and has no opportunity to change between then and this line, so "dynamic" will ALWAYS be output. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@80049 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_queue.c b/apps/app_queue.c index 7193296b9..a6f46ca23 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2910,7 +2910,7 @@ static int add_to_queue(const char *queuename, const char *interface, const char "Status: %d\r\n" "Paused: %d\r\n", q->name, new_member->interface, new_member->membername, - new_member->dynamic ? "dynamic" : "static", + "dynamic", new_member->penalty, new_member->calls, (int) new_member->lastcall, new_member->status, new_member->paused); -- cgit v1.2.3