]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Remove superfluous code in SRC_SelectSource
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 21 Jan 2014 15:38:00 +0000 (16:38 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 21 Jan 2014 15:41:00 +0000 (16:41 +0100)
sources.c

index 6098d781297b7032affa730efb3f7a01374f81a2..6c6a5bb5ffd824a0b739efdd4c85980462ab6622 100644 (file)
--- a/sources.c
+++ b/sources.c
@@ -780,7 +780,6 @@ SRC_SelectSource(uint32_t match_refid)
         if (index != INVALID_SOURCE) {
           sources[index]->status = SRC_SELECTABLE;
           sel_sources[j++] = sel_sources[i];
-          index++;
         }
       }
       n_sel_sources = j;