[Pkg-libvirt-commits] [libguestfs] 07/26: appliance: Initialize local variables because gcc cannot track that they are not used uninitialized.
Hilko Bengen
bengen at moszumanska.debian.org
Sun Mar 2 13:37:36 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag upstream/1.25.39
in repository libguestfs.
commit eb81df93d0b01211014132d196d95a88c762a399
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Wed Feb 26 10:10:20 2014 -0500
appliance: Initialize local variables because gcc cannot track that they are not used uninitialized.
---
src/appliance.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/appliance.c b/src/appliance.c
index 20815ec..c393c8a 100644
--- a/src/appliance.c
+++ b/src/appliance.c
@@ -106,7 +106,7 @@ guestfs___build_appliance (guestfs_h *g,
char **initrd_rtn,
char **appliance_rtn)
{
- char *kernel, *dtb, *initrd, *appliance;
+ char *kernel = NULL, *dtb = NULL, *initrd = NULL, *appliance = NULL;
if (build_appliance (g, &kernel, &dtb, &initrd, &appliance) == -1)
return -1;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list