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

Tomohiro Kusumi tkusumi at
Wed Jan 1 01:02:43 PST 2020

commit e1c15eeb8d795b5621d83b9d624c387896c72595
Author: Tomohiro Kusumi <kusumi.tomohiro at>
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(+)

DragonFly BSD source repository

More information about the Commits mailing list