move variable declaration in the middle of a block
authorLuigi Rizzo <rizzo@icir.org>
Wed, 1 Nov 2006 17:09:47 +0000 (17:09 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Wed, 1 Nov 2006 17:09:47 +0000 (17:09 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46758 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_features.c

index 7c5e036..e48c2e0 100644 (file)
@@ -1527,10 +1527,11 @@ static void post_manager_event(const char *s, char *parkingexten, struct ast_cha
 /*! \brief Take care of parked calls and unpark them if needed */
 static void *do_parking_thread(void *ignore)
 {
+       char parkingslot[AST_MAX_EXTENSION];
        fd_set rfds, efds;      /* results from previous select, to be preserved across loops. */
+
        FD_ZERO(&rfds);
        FD_ZERO(&efds);
-       char parkingslot[AST_MAX_EXTENSION];
 
        for (;;) {
                struct parkeduser *pu, *pl, *pt = NULL;