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

git: kernel/asr: Fix -Waddress on gcc47.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 12 Mar 2013 13:50:33 -0700 (PDT)

commit a1f2c914b8cd6ce8baa22478c7c2d7b1b1288b6d
Author: Sascha Wildner <saw@online.de>
Date:   Tue Mar 12 21:31:20 2013 +0100

    kernel/asr: Fix -Waddress on gcc47.
    
    gcc47 was complaining about two cases where an address that could never
    be NULL was checked against NULL in the SG() macro. Work around it by
    using a pointer in between.

Summary of changes:
 sys/dev/raid/asr/asr.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a1f2c914b8cd6ce8baa22478c7c2d7b1b1288b6d


-- 
DragonFly BSD source repository



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