git: kernel - Work around bogus gcc errors

Matthew Dillon dillon at
Tue Sep 25 09:29:19 PDT 2018

commit c236fb6ea9212b1768f1e9cd786f7b154616f819
Author: Matthew Dillon <dillon at>
Date:   Mon Sep 24 10:26:23 2018 -0700

    kernel - Work around bogus gcc errors
    * gcc warns of possibly uninitialized variables when using the
      builtins in two situations where the variables are, in fact,
      initialized for the code path.
    * Not really gcc's fault, the code was too complex for its
    * Zero the variables to fix the warning.

Summary of changes:
 sys/net/pf/pf_norm.c        | 3 +++
 sys/netgraph/l2tp/ng_l2tp.c | 6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list