Skip to content

Commit

Permalink
dialog: fix -Wmaybe-uninitialized compiler warning
Browse files Browse the repository at this point in the history
(cherry picked from commit c2cb017)
  • Loading branch information
ovidiusas committed Nov 16, 2020
1 parent 437f839 commit 28066aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/dialog/dlg_handlers.c
Expand Up @@ -2109,7 +2109,7 @@ void dlg_onroute(struct sip_msg* req, str *route_params, void *param)
*/
void dlg_ontimeout(struct dlg_tl *tl)
{
struct sip_msg *fake_msg;
struct sip_msg *fake_msg = NULL;
context_p old_ctx;
context_p *new_ctx;
struct dlg_cell *dlg;
Expand Down

0 comments on commit 28066aa

Please sign in to comment.