Page MenuHomeFreeBSD

ping6: Initialize ttl variable
ClosedPublic

Authored by jansucan on Aug 15 2019, 12:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Feb 24, 4:39 PM
Unknown Object (File)
Mon, Feb 23, 11:15 AM
Unknown Object (File)
Tue, Feb 17, 10:20 AM
Unknown Object (File)
Mon, Feb 16, 11:49 AM
Unknown Object (File)
Sun, Feb 8, 2:08 PM
Unknown Object (File)
Sat, Jan 31, 12:48 PM
Unknown Object (File)
Jan 21 2026, 9:29 AM
Unknown Object (File)
Dec 12 2025, 4:19 PM
Subscribers

Details

Summary

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)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable