On 10/05/2011 03:03 PM, Caolán McNamara wrote:
Only micro-nit is can leave an argument unnamed rather than self-assign
it to avoid an unused parameter warnings, e.g.

void foo(int a, int, int c)
{
}

rather than

void foo(int a, int b, int c)
{
     b = b;
}

See also <http://wiki.services.openoffice.org/wiki/Writing_warning-free_code#Unused_parameters>.

-Stephan
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to