summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2014-07-14 10:58:15 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-07-14 15:04:53 +0200
commitcb8c79278d23a5b1deb66ea4af37feebc7137fd0 (patch)
treeab48e04402c8557213a21b881159d7d6c7e66fb4 /src/tests
parentb6a84d074348f0c2fa0712dac11990cfea36b7e7 (diff)
downloadsssd-cb8c79278d23a5b1deb66ea4af37feebc7137fd0.tar.gz
sssd-cb8c79278d23a5b1deb66ea4af37feebc7137fd0.tar.xz
sssd-cb8c79278d23a5b1deb66ea4af37feebc7137fd0.zip
resolv tests: remove ununused variable from for cyclus
Reviewed-by: Pavel Reichl <preichl@redhat.com>
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/resolv-tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/resolv-tests.c b/src/tests/resolv-tests.c
index 5b85bf6ef..fa6e63677 100644
--- a/src/tests/resolv-tests.c
+++ b/src/tests/resolv-tests.c
@@ -767,7 +767,7 @@ START_TEST(test_resolv_sort_srv_reply)
/* clean up */
prev = NULL;
- for (i = 1, r = replies; r; r=r->next, i++) {
+ for (r = replies; r; r=r->next) {
talloc_zfree(prev);
prev = r;
}