But I use them (parameters) when I call the functions. I will get compiler
errors when ALEX_DEBUG will be disabled. And we do not want to wrap all the
calls into #ifdef, do we?
On 11 Jul 2013 17:54, "Vadim Pisarevsky" <notifications@github.com> wrote:

> In modules/optim/src/lpsolver.cpp:
>
> > @@ -0,0 +1,322 @@
> > +#include "opencv2/ts.hpp"
> > +#include "precomp.hpp"
> > +#include <climits>
> > +#include <algorithm>
> > +#include <cstdarg>
> > +
> > +namespace cv{namespace optim{
> > +using std::vector;
> > +
> > +#ifdef ALEX_DEBUG
>
> unused parameter warnings can be eliminated by commenting off parameter
> names.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Itseez/opencv/pull/1108/files#r5142505>
> .
>