Merge "app_minivm: Fix possible uninitialized return value." into 13

This commit is contained in:
Joshua Colp
2017-11-20 10:22:12 -06:00
committed by Gerrit Code Review

View File

@@ -1254,7 +1254,7 @@ static int sendmail(struct minivm_template *template, struct minivm_account *vmu
struct ast_channel *chan = NULL;
char *fromaddress;
char *fromemail;
int res;
int res = -1;
if (!str1 || !str2) {
return -1;