diff options
author | Kozlov Dmitry <dima@server> | 2010-12-27 18:38:46 +0300 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2010-12-27 18:38:46 +0300 |
commit | 73b6989bdc0066caa4d8c351127345d7785feb92 (patch) | |
tree | 657627aea5e11304be5de0e29c6582101afb521c /accel-pptpd/cli | |
parent | 330c5a3c8a531d79a2f87953806ef47f61262e14 (diff) | |
download | accel-ppp-73b6989bdc0066caa4d8c351127345d7785feb92.tar.gz accel-ppp-73b6989bdc0066caa4d8c351127345d7785feb92.zip |
fix compilation warnings
Diffstat (limited to 'accel-pptpd/cli')
-rw-r--r-- | accel-pptpd/cli/std_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pptpd/cli/std_cmd.c b/accel-pptpd/cli/std_cmd.c index 50f34593..fb830dc3 100644 --- a/accel-pptpd/cli/std_cmd.c +++ b/accel-pptpd/cli/std_cmd.c @@ -100,7 +100,7 @@ static int show_ses_exec(const char *cmd, char * const *fields, int fields_cnt, int order = ORDER_NONE; int match = MATCH_NONE; struct row_t *row, *row2, *row3; - pcre *re; + pcre *re = NULL; const char *pcre_err; int pcre_offset; LIST_HEAD(rows); @@ -302,7 +302,7 @@ static int terminate_exec2(int key, char * const *f, int f_cnt, void *cli) { struct ppp_t *ppp; int hard = 0; - in_addr_t ipaddr; + in_addr_t ipaddr = 0; if (f_cnt == 4) { if (!strcmp(f[3], "hard")) |