From: Luigi Rizzo Date: Wed, 1 Nov 2006 17:09:47 +0000 (+0000) Subject: move variable declaration in the middle of a block X-Git-Tag: 1.6.0-beta1~3^2~4188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36a86a19dd4d9464eb9a9ef790ef75d7071178e1;p=thirdparty%2Fasterisk.git move variable declaration in the middle of a block git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46758 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_features.c b/res/res_features.c index 7c5e036114..e48c2e00f8 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -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;