[Libguestfs] [PATCH] isoinfo: remove the useless goto
Wanlong Gao
gaowanlong at cn.fujitsu.com
Mon Jul 16 08:03:57 UTC 2012
Code cleanup.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
daemon/isoinfo.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/daemon/isoinfo.c b/daemon/isoinfo.c
index c0ee1c9..fd777bd 100644
--- a/daemon/isoinfo.c
+++ b/daemon/isoinfo.c
@@ -255,8 +255,6 @@ isoinfo (const char *path)
goto done;
ret = parse_isoinfo (lines);
- if (ret == NULL)
- goto done;
done:
free (out);
--
1.7.11.2.249.g31c7954
More information about the Libguestfs
mailing list