[Ltrace-devel] [PATCH 4/6] Remove unused variable

Zachary T Welch zwelch at codesourcery.com
Tue Dec 7 07:21:01 UTC 2010


Eliminate an unused variable to quench the compiler's warning.

Signed-off-by: Zachary T Welch <zwelch at codesourcery.com>
---
 sysdeps/linux-gnu/trace.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/sysdeps/linux-gnu/trace.c b/sysdeps/linux-gnu/trace.c
index 1a2c414..2ec2904 100644
--- a/sysdeps/linux-gnu/trace.c
+++ b/sysdeps/linux-gnu/trace.c
@@ -178,7 +178,6 @@ umovebytes(Process *proc, void *addr, void *laddr, size_t len) {
 		long a;
 		char c[sizeof(long)];
 	} a;
-	int i;
 	int offset = 0, started = 0;
 	size_t bytes_read = 0;
 
-- 
1.7.2.2




More information about the Ltrace-devel mailing list