bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 07/11] Avoid compiler warning about empty bodies


From: Samuel Thibault
Subject: Re: [PATCH 07/11] Avoid compiler warning about empty bodies
Date: Fri, 23 May 2014 00:25:21 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Justus Winter, le Thu 22 May 2014 22:13:29 +0200, a écrit :
> diff --git a/console-client/xkb/xkb.c b/console-client/xkb/xkb.c
> index 0b43913..220701b 100644
> --- a/console-client/xkb/xkb.c
> +++ b/console-client/xkb/xkb.c
> @@ -606,10 +606,11 @@ clearcontrols (keypress_t key, boolctrls ctrls, int 
> flags)
>  static void
>  lockcontrols (keypress_t key, boolctrls ctrls, int flags)
>  {
> +  /* XXX this needs a closer look.  */
>    if (!key.rel)
>      {
>        //setcontrols (key, boolctrls, flags);
> -      if (!(flags & noLock));
> +      //if (!(flags & noLock));
>        //     lboolctrls |= boolctrls;
>      }
>    else

Comment the line, indeed, but remove the semicolon.

The rest is fine.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]