~rojtberg/artoolkitplus/eigen-la

« back to all changes in this revision

Viewing changes to src/extra/BCH.cpp

  • Committer: Pavel Rojtberg
  • Date: 2011-03-24 20:17:26 UTC
  • Revision ID: pavel@rojtberg.net-20110324201726-96jyoiffuwptub9q
* remove unused variables
* link using gold on linux

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
 
123
123
void BCH::initialize(int _m, int _length, int _t)
124
124
{
125
 
        int i, ninf;
 
125
        int i;
126
126
 
127
127
        m = _m;
128
128
        length = _length;
173
173
        n *= 2;
174
174
    }
175
175
        n = n / 2 - 1;
176
 
        ninf = (n + 1) / 2 - 1;
177
176
 
178
177
        generate_gf();          /* Construct the Galois Field GF(2**m) */
179
178
        gen_poly(t);            /* Compute the generator polynomial of BCH code */