move a variable declaration to the beginning of a block
authorRussell Bryant <russell@russellbryant.com>
Tue, 6 Jun 2006 20:55:17 +0000 (20:55 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 6 Jun 2006 20:55:17 +0000 (20:55 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32703 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_followme.c

index 1172b8d..3bfafd3 100644 (file)
@@ -1081,9 +1081,9 @@ static int app_exec(struct ast_channel *chan, void *data)
 
 static int unload_module(void *mod)
 {
+       struct ast_call_followme *f;
        STANDARD_HANGUP_LOCALUSERS;
        ast_unregister_application(app);
-       struct ast_call_followme *f;
        /* Free Memory. Yeah! I'm free! */
        AST_LIST_LOCK(&followmes);
        AST_LIST_TRAVERSE_SAFE_BEGIN(&followmes, f, entry) {