projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06fb994
)
xl/vsnd: initialise rc in dryrun path
author
Wei Liu
<wei.liu2@citrix.com>
Tue, 10 Jul 2018 13:43:34 +0000
(14:43 +0100)
committer
Wei Liu
<wei.liu2@citrix.com>
Tue, 10 Jul 2018 14:17:43 +0000
(15:17 +0100)
Reported-by: Coverity
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/xl/xl_vsnd.c
patch
|
blob
|
history
diff --git
a/tools/xl/xl_vsnd.c
b/tools/xl/xl_vsnd.c
index 6dd3a901b245aad067f0b331795f91fd4798bf80..3306b93139731109fd5d0c8c376236d28306051d 100644
(file)
--- 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;
}