git: libfetch: avoid dereferencing possibly uninitialized pointer

Daniel Fojt deef at crater.dragonflybsd.org
Sun Aug 30 22:28:10 PDT 2020


commit 926ea7d70a29c7feb20ceda5c70ca1ab4a173250
Author: Daniel Fojt <df at neosystem.org>
Date:   Sat Aug 29 10:58:35 2020 +0200

    libfetch: avoid dereferencing possibly uninitialized pointer
    
    Fix -Werror=maybe-uninitialized exposed when building world with -Os.

Summary of changes:
 lib/libfetch/common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/926ea7d70a29c7feb20ceda5c70ca1ab4a173250


-- 
DragonFly BSD source repository



More information about the Commits mailing list