liuq / QuadProgpp

A C++ library for Quadratic Programming which implements the Goldfarb-Idnani active-set dual method.
MIT License
283 stars 88 forks source link

Remove an unused variable declaration #7

Closed yuki-koyama closed 6 years ago

yuki-koyama commented 6 years ago

The variable n in Line 484 seems not to be used, and it generates the following warning:

[...]/QuadProgpp/src/QuadProg++.cc:484:22: warning: unused variable 'n' [-Wunused-variable]
  register int i, j, n = d.size();
                     ^
1 warning generated.

I would like to just remove n from that line.