]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Move the defintion of the a couple arrays out of loops.
authorSean Bright <sean@malleable.com>
Fri, 1 May 2009 15:42:48 +0000 (15:42 +0000)
committerSean Bright <sean@malleable.com>
Fri, 1 May 2009 15:42:48 +0000 (15:42 +0000)
commitb5ec450104607013996c63ca99d9f309d4d271dc
treef77a2ab1d5d589eca57dfbfcc5404ea6ffe2079c
parentf8b1da1872368021ad859a51d681eb927d269d82
Move the defintion of the a couple arrays out of loops.

According to Kevin, it is unspecified as to whether a variable defined inside
a block is allocated once by the compiler or for each pass through the block
(loops being the only interesting case), so just define these before we get
into our loop to be sure.

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