From 36a86a19dd4d9464eb9a9ef790ef75d7071178e1 Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Wed, 1 Nov 2006 17:09:47 +0000 Subject: [PATCH] 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 --- res/res_features.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;