Am Montag, 24. September 2012 um 14:10:33, schrieb Richard Heck <rgh...@lyx.org>
> On 09/24/2012 01:07 PM, Pavel Sanda wrote:
> > Stephan Witt wrote:
> >> -bool Messages::available() const
> >> +bool Messages::available(string const & c)
> >>   {
> >> +  (void)c;
> >>    return false;
> >>   }
> > Why this (void)c; construct?
> >
> Crushes an "unused variable" warning.
> 
> rh

Why not
        bool Messages::available(string const & ) { ... }

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to