Initialize ttl variable
This fixes warning that the variable may be used uninitialized in
pr_nodeaddr() when compiled with GCC 4.2 and WARNS=6.
Submitted by: Ján Sučan <sucanjan@gmail.com>
Sponsored by: Google, inc. (Google Summer of Code 2019)
Differential D21269 Authored by jansucan on Aug 15 2019, 12:48 PM.
Tags None Referenced Files
Subscribers
Details
Summary Initialize ttl variable This fixes warning that the variable may be used uninitialized in Submitted by: Ján Sučan <sucanjan@gmail.com>
Diff Detail
Event TimelineHarbormaster completed remote builds in B25883: Diff 60823.Aug 15 2019, 12:48 PM2019-08-15 12:48:03 (UTC+0) This revision is now accepted and ready to land.Aug 15 2019, 3:53 PM2019-08-15 15:53:01 (UTC+0) Closed by commit rS351080: ping6: quiet an undefined variable warning (authored by asomers). · Explain WhyAug 15 2019, 3:55 PM2019-08-15 15:55:05 (UTC+0) This revision was automatically updated to reflect the committed changes. Herald added a subscriber: imp. · View Herald TranscriptAug 15 2019, 3:55 PM2019-08-15 15:55:06 (UTC+0)
Revision Contents
Diff 60839 head/sbin/ping6/ping6.c
|