Commit cdc99aadc986c165e66574c633e7202eb830b8f9

Authored by Loic Dachary
1 parent 6052a15e
Exists in master

silence warning about bestrow used uninitialized

Signed-off-by: Loic Dachary <loic@dachary.org>
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); */
... ...