summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Dachary <loic@dachary.org>2014-09-13 23:39:24 +0200
committerLoic Dachary <loic@dachary.org>2014-10-03 19:08:53 +0200
commitc94348f73a3c38745659cde6f73037898fd54583 (patch)
treef8dc5047560841da02b3c1a73f3190abef8ce34c
parent4fdbeeebe0f537a903d81046a1efc6a69ddf04bb (diff)
downloadjerasure-c94348f73a3c38745659cde6f73037898fd54583.tar.gz
remove unused variable in tests
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
-rw-r--r--Examples/jerasure_05.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Examples/jerasure_05.c b/Examples/jerasure_05.c
index 7202aa0..20b059b 100644
--- a/Examples/jerasure_05.c
+++ b/Examples/jerasure_05.c
@@ -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;
@@ -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) {