[cairo] Cairo 1.6 is imminent

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Wed Apr 9 15:34:02 PDT 2008


On Wed, 2008-04-09 at 13:42 -0700, Carl Worth wrote:

> and almost all of the warnings are "unused parameter", (note that that
> is unused *parameter*, not unused variable). This is a mostly
> worthless warning, (it appears here because we have functions that
> must implement a particular interface even if they don't care about a
> particular parameter).

Usually, making the function parameter un-named gets rid of the warning.
i.e.,

void my_function (const char *)
{
  /* do stuff */
}

instead of:

void my_function (const char *str)
{
  /* do stuff */
}

regards,
Mathieu



More information about the cairo mailing list