Page MenuHomeFreeBSD

ping6: Rearrange code for initialization of 'intvl' variable
ClosedPublic

Authored by jansucan on Aug 15 2019, 1:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 16, 5:22 AM
Unknown Object (File)
Sat, Jan 11, 7:00 PM
Unknown Object (File)
Tue, Jan 7, 7:52 PM
Unknown Object (File)
Nov 22 2024, 11:53 AM
Unknown Object (File)
Nov 22 2024, 11:53 AM
Unknown Object (File)
Nov 22 2024, 11:52 AM
Unknown Object (File)
Nov 22 2024, 11:25 AM
Unknown Object (File)
Sep 24 2024, 8:47 AM
Subscribers

Details

Summary

Rearrange code for initialization of 'intvl' variable

This fixes warning that the variable may be used uninitialized when
compiled with GCC 8, env CROSS_TOOLCHAIN=riscv64-gcc TARGET=riscv
TARGET_ARCH=riscv64, 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