Commit ca21b175577fbd2dd56c52ff703a8c26fe46253f

Authored by KMG
2 parents 6052a15e cdc99aad
Exists in master

Merged in dachary/jerasure/wip-warning-unused (pull request #14)

silence warning about bestrow used uninitialized
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/jerasure.c
... ... @@ -1240,7 +1240,7 @@ int **jerasure_smart_bitmatrix_to_schedule(int k, int m, int w, int *bitmatrix)
1240 1240 int *diff, *from, *b1, *flink, *blink;
1241 1241 int *ptr, no, row;
1242 1242 int optodo;
1243   - int bestrow, bestdiff, top;
  1243 + int bestrow = 0, bestdiff, top;
1244 1244  
1245 1245 /* printf("Scheduling:\n\n");
1246 1246 jerasure_print_bitmatrix(bitmatrix, m*w, k*w, w); */
... ...