]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Found a pointless ternary if. member->dynamic was set to 1 and has no opportunity...
authorMark Michelson <mmichelson@digium.com>
Mon, 20 Aug 2007 16:17:43 +0000 (16:17 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 20 Aug 2007 16:17:43 +0000 (16:17 +0000)
between then and this line, so "dynamic" will ALWAYS be output.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@80049 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 7193296b903dd0557a670cf9a661b802bb5408b4..a6f46ca237384aa1d38e1bef17de926d5ebbf285 100644 (file)
@@ -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);