git: usr.sbin/fstyp: Fix -Werror=maybe-uninitialized on NetBSD

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Fri Jan 3 00:38:06 PST 2020


commit f2cb34362e8f5e673c9d6db56c809eacf410380e
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Fri Jan 3 17:36:56 2020 +0900

    usr.sbin/fstyp: Fix -Werror=maybe-uninitialized on NetBSD
    
    Fix below which was seen on NetBSD.
    'ondisk' may be used uninitialized in this function [-Werror=maybe-uninitialized]

Summary of changes:
 usr.sbin/fstyp/hammer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list