commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 14/36: Fix gcc warning


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

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

sthibault pushed a commit to branch upstream
in repository hurd.

commit 7e67095c3c80e733b2a62eaba85609e489fee82d
Author: Samuel Thibault <address@hidden>
Date:   Sat Sep 21 13:35:32 2013 +0200

    Fix gcc warning
    
    * term/users.c (trivfs_S_io_read): Add parentheses to make expression
    evaluation priority clear.
---
 term/users.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/term/users.c b/term/users.c
index 09df9ab..9d745c6 100644
--- a/term/users.c
+++ b/term/users.c
@@ -679,7 +679,7 @@ trivfs_S_io_read (struct trivfs_protid *cred,
 
   while (!qsize (inputq))
     {
-      if ((termflags & NO_CARRIER) && !(termstate.c_cflag & CLOCAL) || !amount)
+      if (((termflags & NO_CARRIER) && !(termstate.c_cflag & CLOCAL)) || 
!amount)
        {
          /* Return EOF, Posix.1 7.1.1.10. */
          pthread_mutex_unlock (&global_lock);

-- 
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]