Initialize some struct members reported by the compiler.

This commit is contained in:
Petter Reinholdtsen 2013-10-13 09:01:53 +02:00
parent b401af895c
commit 6564449f49
2 changed files with 3 additions and 3 deletions

View File

@ -2642,5 +2642,5 @@ struct cli_schema command_line_options[]={
{app_pa_phone,{"phone",NULL}, 0,
"Run phone test application"},
#endif
{NULL,{NULL}}
{NULL,{NULL},0,NULL}
};

View File

@ -862,8 +862,8 @@ int fd_func_enter(struct __sourceloc, struct call_stats *this_call);
int fd_func_exit(struct __sourceloc, struct call_stats *this_call);
void dump_stack(int log_level);
#define IN() static struct profile_total _aggregate_stats={NULL,0,__FUNCTION__,0,0,0}; \
struct call_stats _this_call={.totals=&_aggregate_stats}; \
#define IN() static struct profile_total _aggregate_stats={NULL,0,__FUNCTION__,0,0,0,0}; \
struct call_stats _this_call={.totals=&_aggregate_stats,.enter_time=0,.child_time=0,.prev=NULL}; \
fd_func_enter(__HERE__, &_this_call);
#define OUT() fd_func_exit(__HERE__, &_this_call)