From 679208b372d0d1ba9a50cf277530bf0950cb3a90 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Mon, 21 Sep 2015 22:49:44 +0200 Subject: [PATCH] Remove unused variable. This shuts up a compiler warning. --- ginac/polynomial/mgcd.cpp | 1 - 1 file changed, 1 deletion(-) 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()); -- 2.49.0