From 4321590770cb5fb9e2756ca9289ba0fa0ee497ed Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Thu, 26 Apr 2012 11:42:27 -0300 Subject: [PATCH] Remove dead increment --- libkmod/libkmod-elf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libkmod/libkmod-elf.c b/libkmod/libkmod-elf.c index 1f47e07..f8a5d15 100644 --- a/libkmod/libkmod-elf.c +++ b/libkmod/libkmod-elf.c @@ -705,7 +705,6 @@ static int kmod_elf_get_symbols_symtab(const struct kmod_elf *elf, struct kmod_m a[count].symbol = itr; memcpy(itr, strings + last, slen); itr[slen] = '\0'; - itr += slen + 1; count++; } -- 2.7.4