From: Richard Kreckel Date: Mon, 21 Sep 2015 20:49:44 +0000 (+0200) Subject: Remove unused variable. X-Git-Tag: ginac_1-6-6~16 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=commitdiff_plain;h=679208b372d0d1ba9a50cf277530bf0950cb3a90;p=ginac.git Remove unused variable. This shuts up a compiler warning. --- diff --git a/ginac/polynomial/mgcd.cpp b/ginac/polynomial/mgcd.cpp index b62510b2..984ba32e 100644 --- a/ginac/polynomial/mgcd.cpp +++ b/ginac/polynomial/mgcd.cpp @@ -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());