[Libreoffice] [PUSHED] Re: About cppcheck 2 reports for desktop/unx/source/file_image_unx.c

Stephan Bergmann sbergman at redhat.com
Mon Jan 9 23:26:30 PST 2012


>   size_t k;
> + // force touching of each page despite the optimizer
>   volatile char c = 0;

That patch reminds me of a piece of trivia I'd like to share:  Ending 
with a colon a comment that goes before the code that it comments is a 
subtle device to make that more obvious:

>   size_t k;
> + // force touching of each page despite the optimizer:
>   volatile char c = 0;

Stephan


More information about the LibreOffice mailing list