Remove a warning. Patch from Bryan Rittmeyer <bryan@ixiacom.com>
authorEric Andersen <andersen@codepoet.org>
Thu, 21 Sep 2000 01:33:05 +0000 (01:33 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 21 Sep 2000 01:33:05 +0000 (01:33 -0000)
mount.c
util-linux/mount.c

diff --git a/mount.c b/mount.c
index eefbd76fdf67a362197950351498f85022e8bcf9..598b650f917822f68c4665c9cc271fd6b2117f90 100644 (file)
--- a/mount.c
+++ b/mount.c
@@ -119,7 +119,9 @@ do_mount(char *specialfile, char *dir, char *filesystemtype,
                 char *mtab_opts)
 {
        int status = 0;
+#if defined BB_FEATURE_MOUNT_LOOP
        char *lofile = NULL;
+#endif
 
        if (fakeIt == FALSE)
        {
index eefbd76fdf67a362197950351498f85022e8bcf9..598b650f917822f68c4665c9cc271fd6b2117f90 100644 (file)
@@ -119,7 +119,9 @@ do_mount(char *specialfile, char *dir, char *filesystemtype,
                 char *mtab_opts)
 {
        int status = 0;
+#if defined BB_FEATURE_MOUNT_LOOP
        char *lofile = NULL;
+#endif
 
        if (fakeIt == FALSE)
        {