]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Ensure debug_condition is initialized
authorAlan T. DeKok <aland@freeradius.org>
Fri, 26 Jun 2015 02:09:09 +0000 (22:09 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 26 Jun 2015 02:09:09 +0000 (22:09 -0400)
src/main/mainconfig.c

index b9eda025092b83ffeb4bb2ad195e41367183d786..ca2a811c116c75b770fefa46c24f87385acacd9f 100644 (file)
@@ -41,7 +41,7 @@ RCSID("$Id$")
 
 main_config_t          main_config;                            //!< Main server configuration.
 extern fr_cond_t       *debug_condition;
-fr_cond_t              *debug_condition;                       //!< Condition used to mark packets up for checking.
+fr_cond_t              *debug_condition = NULL;                        //!< Condition used to mark packets up for checking.
 bool                   event_loop_started = false;             //!< Whether the main event loop has been started yet.
 
 typedef struct cached_config_t {