Remove unused variable.
authorRichard Kreckel <kreckel@ginac.de>
Mon, 21 Sep 2015 20:49:44 +0000 (22:49 +0200)
committerRichard Kreckel <kreckel@ginac.de>
Mon, 21 Sep 2015 20:49:44 +0000 (22:49 +0200)
This shuts up a compiler warning.

ginac/polynomial/mgcd.cpp

index b62510b238a3e50d965f45036f4c223ffe03d0ad..984ba32e6cb22c663afad13a51ce2fbdeedcacc7 100644 (file)
@@ -69,7 +69,6 @@ ex chinrem_gcd(const ex& A_, const ex& B_, const exvector& vars)
        const cln::cl_I b_lc = integer_lcoeff(B, vars);
        const cln::cl_I g_lc = cln::gcd(a_lc, b_lc);
 
-       const ex& x(vars.back());
        exp_vector_t n = std::min(degree_vector(A, vars), degree_vector(B, vars));
        const int nTot = std::accumulate(n.begin(), n.end(), 0);
        const cln::cl_I A_max_coeff = to_cl_I(A.max_coefficient());