Commit c94348f73a3c38745659cde6f73037898fd54583

Authored by Loic Dachary
1 parent 4fdbeeeb
Exists in master

remove unused variable in tests

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
Showing 1 changed file with 0 additions and 2 deletions   Show diff stats
Examples/jerasure_05.c
... ... @@ -111,7 +111,6 @@ static void print_data_and_coding(int k, int m, int w, int size,
111 111  
112 112 int main(int argc, char **argv)
113 113 {
114   - long l;
115 114 int k, m, w, size;
116 115 int i, j;
117 116 int *matrix;
... ... @@ -168,7 +167,6 @@ int main(int argc, char **argv)
168 167 erasures = talloc(int, (m+1));
169 168 erased = talloc(int, (k+m));
170 169 for (i = 0; i < m+k; i++) erased[i] = 0;
171   - l = 0;
172 170 for (i = 0; i < m; ) {
173 171 erasures[i] = (MOA_Random_W(w, 1))%(k+m);
174 172 if (erased[erasures[i]] == 0) {
... ...