git: build - Workaround LINT issues

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Sep 22 15:07:22 PDT 2010


commit 9a3fee57c944eae43da09db0aefaacf97b245be8
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list