From: Joel Rosdahl Date: Wed, 7 Aug 2024 09:03:40 +0000 (+0200) Subject: chore: Improve type of boolean X-Git-Tag: v4.11~85 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=90730a1702ee69f6103eabe15f09568577650677;p=thirdparty%2Fccache.git chore: Improve type of boolean --- diff --git a/src/ccache/ccache.cpp b/src/ccache/ccache.cpp index ef499d32..5be5915d 100644 --- a/src/ccache/ccache.cpp +++ b/src/ccache/ccache.cpp @@ -2099,8 +2099,8 @@ calculate_result_and_manifest_key(Context& ctx, // clang will emit warnings for unused linker flags, so we shouldn't skip // those arguments. - int is_clang = ctx.config.is_compiler_group_clang() - || ctx.config.compiler_type() == CompilerType::other; + bool is_clang = ctx.config.is_compiler_group_clang() + || ctx.config.compiler_type() == CompilerType::other; // First the arguments. for (size_t i = 1; i < args.size(); i++) {