From 383e7a272064dfb79b6f7603c533d7b4a77446f3 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 2 Feb 2012 14:27:48 +0100 Subject: [PATCH] libmount: remove dead assigment Signed-off-by: Karel Zak --- libmount/src/context_mount.c | 1 - libmount/src/context_umount.c | 1 - 2 files changed, 2 deletions(-) diff --git a/libmount/src/context_mount.c b/libmount/src/context_mount.c index b3a26fcc89..c39d8d45a9 100644 --- a/libmount/src/context_mount.c +++ b/libmount/src/context_mount.c @@ -385,7 +385,6 @@ static int exec_helper(struct libmnt_context *cxt) } args[i] = NULL; /* 12 */ #ifdef CONFIG_LIBMOUNT_DEBUG - i = 0; for (i = 0; args[i]; i++) DBG(CXT, mnt_debug_h(cxt, "argv[%d] = \"%s\"", i, args[i])); diff --git a/libmount/src/context_umount.c b/libmount/src/context_umount.c index 1be29f9ea5..45c7128e65 100644 --- a/libmount/src/context_umount.c +++ b/libmount/src/context_umount.c @@ -386,7 +386,6 @@ static int exec_helper(struct libmnt_context *cxt) args[i] = NULL; /* 10 */ #ifdef CONFIG_LIBMOUNT_DEBUG - i = 0; for (i = 0; args[i]; i++) DBG(CXT, mnt_debug_h(cxt, "argv[%d] = \"%s\"", i, args[i])); -- 2.47.3