[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen staging] xl/vsnd: initialise rc in dryrun path
commit d8fd67feacc18d5ac071a434469a22f7af487cba Author: Wei Liu <wei.liu2@xxxxxxxxxx> AuthorDate: Tue Jul 10 14:43:34 2018 +0100 Commit: Wei Liu <wei.liu2@xxxxxxxxxx> CommitDate: Tue Jul 10 15:17:43 2018 +0100 xl/vsnd: initialise rc in dryrun path Reported-by: Coverity Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- tools/xl/xl_vsnd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/xl/xl_vsnd.c b/tools/xl/xl_vsnd.c index 6dd3a901b2..3306b93139 100644 --- a/tools/xl/xl_vsnd.c +++ b/tools/xl/xl_vsnd.c @@ -46,6 +46,7 @@ int main_vsndattach(int argc, char **argv) if (dryrun_only) { char *json = libxl_device_vsnd_to_json(ctx, &vsnd); printf("vsnd: %s\n", json); + rc = 0; free(json); goto out; } -- generated by git-patchbot for /home/xen/git/xen.git#staging _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |