]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
chore: Improve type of boolean
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 7 Aug 2024 09:03:40 +0000 (11:03 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 26 Aug 2024 18:00:44 +0000 (20:00 +0200)
src/ccache/ccache.cpp

index ef499d329037f55dd9a66bfb5968805d8d44c38e..5be5915d4a4e67081cb326220c8218ba0305545a 100644 (file)
@@ -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++) {