commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 16/36: Fix gcc warning


From: Samuel Thibault
Subject: [hurd] 16/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 be059c77bf2042d7f32dd55aebd1bac662c5e7fd
Author: Samuel Thibault <address@hidden>
Date:   Sat Sep 21 13:41:03 2013 +0200

    Fix gcc warning
    
    * ext2fs/dir.c (dirscanblock): Test ds->type against LOOKUP instead of
    LOOKING.  They happened to have the same value.
---
 ext2fs/dir.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext2fs/dir.c b/ext2fs/dir.c
index 3a3e648..a291436 100644
--- a/ext2fs/dir.c
+++ b/ext2fs/dir.c
@@ -465,7 +465,7 @@ dirscanblock (vm_address_t blockaddr, struct node *dp, int 
idx,
     }
 
   if (consider_compress
-      && (ds->type == LOOKING
+      && (ds->type == LOOKUP
          || (ds->type == COMPRESS && ds->nbytes > nbytes)))
     {
       ds->type = CREATE;

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