DragonFly BSD
DragonFly commits List (threaded) for 2010-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: build - Workaround LINT issues


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 22 Sep 2010 15:07:01 -0700 (PDT)

commit 9a3fee57c944eae43da09db0aefaacf97b245be8
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Sep 22 14:58:53 2010 -0700

    build - Workaround LINT issues
    
    * Use an intermediate uint32_t variable to store a uint8_t length to avoid
      a silly gcc warning-turned-error about a comparison always being true.
    
    Reported-by: swildner

Summary of changes:
 sys/netinet/sctputil.c    |    3 ++-
 sys/netproto/atm/atm_cm.c |    6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9a3fee57c944eae43da09db0aefaacf97b245be8


-- 
DragonFly BSD source repository



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