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)
Jan 13 2024, 1:09 PM
Unknown Object (File)
Dec 22 2023, 10:10 PM
Unknown Object (File)
Dec 21 2023, 6:27 PM
Unknown Object (File)
Nov 30 2023, 3:42 AM
Unknown Object (File)
Nov 22 2023, 4:36 PM
Unknown Object (File)
Sep 18 2023, 6:20 AM
Unknown Object (File)
Sep 18 2023, 6:18 AM
Unknown Object (File)
Sep 18 2023, 6:17 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