Skip to content
Permalink
Browse files

perl: silence uninitialized RETVAL warning

(cherry picked from commit 91210a9)
  • Loading branch information
razvancrainea committed Sep 9, 2019
1 parent 26d87b1 commit cba3c0ad0aef5b63460538a49d7e5e3fdeca5683
Showing with 1 addition and 0 deletions.
  1. +1 −0 modules/perl/opensipsxs.xs
@@ -1101,6 +1101,7 @@ append_branch(self, branch = NULL, qval = NULL)
LM_ERR("Invalid message reference\n");
RETVAL = -1;
} else {
RETVAL = 1;
if (qval) {
if (str2q(&q, qval, strlen(qval)) < 0) {
LM_ERR("append_branch: Bad q value.\n");

0 comments on commit cba3c0a

Please sign in to comment.
You can’t perform that action at this time.