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

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Jan 1 01:02:43 PST 2020


commit e1c15eeb8d795b5621d83b9d624c387896c72595
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Thu Jan 2 00:20:27 2020 +0900

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

Summary of changes:
 usr.sbin/fstyp/hammer.c | 3 +++
 1 file changed, 3 insertions(+)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list