Skip to content

Commit

Permalink
remove unused variable in tests
Browse files Browse the repository at this point in the history
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
  • Loading branch information
Loic Dachary committed Oct 3, 2014
1 parent 4fdbeee commit c94348f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Examples/jerasure_05.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ static void print_data_and_coding(int k, int m, int w, int size,

int main(int argc, char **argv)
{
long l;
int k, m, w, size;
int i, j;
int *matrix;
Expand Down Expand Up @@ -168,7 +167,6 @@ int main(int argc, char **argv)
erasures = talloc(int, (m+1));
erased = talloc(int, (k+m));
for (i = 0; i < m+k; i++) erased[i] = 0;
l = 0;
for (i = 0; i < m; ) {
erasures[i] = (MOA_Random_W(w, 1))%(k+m);
if (erased[erasures[i]] == 0) {
Expand Down

0 comments on commit c94348f

Please sign in to comment.