[Libreoffice] [PUSHED][PATCH] Refactoring for WMF Loading

Stephan Bergmann sbergman at redhat.com
Thu Oct 6 00:49:09 PDT 2011


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


More information about the LibreOffice mailing list