Remove dead increment
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Thu, 26 Apr 2012 14:42:27 +0000 (11:42 -0300)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Thu, 26 Apr 2012 14:42:27 +0000 (11:42 -0300)
libkmod/libkmod-elf.c

index 1f47e07..f8a5d15 100644 (file)
@@ -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++;
        }