mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
build: Fix compiler warnings/errors.
The compiler complained about a couple of variables that weren't initialized but were being used. Initializing them to NULL resolves the warnings/errors. ASTERISK-28362 #close Change-Id: I6243afc5459b416edff6bbf571b0489f6b852e4b
This commit is contained in:
committed by
Benjamin Keith Ford
parent
5f21b5f3df
commit
8961d9ca8b
@@ -3071,7 +3071,7 @@ static char *dundi_show_hints(struct ast_cli_entry *e, int cmd, struct ast_cli_a
|
||||
ast_cli(a->fd, FORMAT2, "Prefix", "Context", "Expiration", "From");
|
||||
|
||||
for (db_entry = db_tree; db_entry; db_entry = db_entry->next) {
|
||||
char *rest;
|
||||
char *rest = NULL;
|
||||
|
||||
if (ast_get_time_t(db_entry->data, &ts, 0, &length)) {
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user