mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 00:24:05 +00:00
Merge "app_minivm: Fix possible uninitialized return value." into 13
This commit is contained in:
@@ -1254,7 +1254,7 @@ static int sendmail(struct minivm_template *template, struct minivm_account *vmu
|
|||||||
struct ast_channel *chan = NULL;
|
struct ast_channel *chan = NULL;
|
||||||
char *fromaddress;
|
char *fromaddress;
|
||||||
char *fromemail;
|
char *fromemail;
|
||||||
int res;
|
int res = -1;
|
||||||
|
|
||||||
if (!str1 || !str2) {
|
if (!str1 || !str2) {
|
||||||
return -1;
|
return -1;
|
||||||
|
Reference in New Issue
Block a user