commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 23/36: Fix gcc warning


From: Samuel Thibault
Subject: [hurd] 23/36: Fix gcc warning
Date: Tue, 24 Sep 2013 12:31:17 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 036e37ea05c59013bef4e40e6f3485b2674fd939
Author: Samuel Thibault <address@hidden>
Date:   Sat Sep 21 14:10:19 2013 +0200

    Fix gcc warning
    
    * console-client/pc-kbd.c (gnumach_v1_input_next) [XKB_SUPPORT]: Do not
    define `up` and `sc` variables.
---
 console-client/pc-kbd.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/console-client/pc-kbd.c b/console-client/pc-kbd.c
index c6eda86..21c0987 100644
--- a/console-client/pc-kbd.c
+++ b/console-client/pc-kbd.c
@@ -591,8 +591,10 @@ static enum scancode
 gnumach_v1_input_next ()
 {
   kd_event data_buf;
+#ifndef XKB_SUPPORT
   int up;
   enum scancode sc;
+#endif /* not XKB_SUPPORT */
 
   do
     {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

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