HomeFreeBSD

gcc 11 cleanup

Description

gcc 11 cleanup

Compiling with gcc 11.1.0 produces three new warnings.
Change the code slightly to avoid them.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Signed-off-by: Attila Fülöp <attila@fueloep.org>
Closes #12130
Closes #12188
Closes #12237

Details

Provenance
Attila Fülöp <attila@fueloep.org>Authored on Jun 23 2021, 11:57 PM
GitHub <noreply@github.com>Committed on Jun 23 2021, 11:57 PM
Parents
rG63f4b959a682: ZTS: Add known exceptions
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG1b610ae45f59: gcc 11 cleanup (authored by Attila Fülöp <attila@fueloep.org>).Jun 23 2021, 11:57 PM