diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-12-10 12:19:49 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-12-10 12:19:49 +0000 |
commit | d72815578f7b8fea9702902d8562430e8a007a46 (patch) | |
tree | 57815056a0cf762e5013c8ac973394e27a352d81 /src/inspect.c | |
parent | 8dafeaa477f9e3d2fde827b8de4b44d66b661b69 (diff) | |
download | libguestfs-d72815578f7b8fea9702902d8562430e8a007a46.tar.gz libguestfs-d72815578f7b8fea9702902d8562430e8a007a46.tar.xz libguestfs-d72815578f7b8fea9702902d8562430e8a007a46.zip |
Remove several unused local variables.
(Revealed by compiling under Debian where this is a warning).
Diffstat (limited to 'src/inspect.c')
-rw-r--r-- | src/inspect.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/inspect.c b/src/inspect.c index 8b210268..46c7fe4e 100644 --- a/src/inspect.c +++ b/src/inspect.c @@ -609,8 +609,6 @@ check_linux_root (guestfs_h *g, struct inspect_fs *fs) static int check_freebsd_root (guestfs_h *g, struct inspect_fs *fs) { - int r; - fs->type = OS_TYPE_FREEBSD; /* FreeBSD has no authoritative version file. The version number is @@ -673,8 +671,6 @@ check_architecture (guestfs_h *g, struct inspect_fs *fs) static int check_hostname_unix (guestfs_h *g, struct inspect_fs *fs) { - char **lines; - switch (fs->type) { case OS_TYPE_LINUX: /* Red Hat-derived would be in /etc/sysconfig/network, and |