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)
Fri, May 24, 5:30 AM
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
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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 25886
Build 24455: arc lint + arc unit