HomeFreeBSD

Fix the following -Werror warning from clang 10.0.0 in rbootd:

Description

Fix the following -Werror warning from clang 10.0.0 in rbootd:

libexec/rbootd/rmpproto.c:335:49: error: multiple unsequenced modifications to 'filename' [-Werror,-Wunsequenced]

filename = (filename = strrchr(filepath,'/'))? ++filename: filepath;
         ~                                     ^

MFC after: 3 days

Details

Provenance
dimAuthored on
Parents
rS357221: Add internal floating point environment builtins to libcompiler_rt and
Branches
Unknown
Tags
Unknown