Browse Source

clang-tidy: fix `readability-braces-around-statements` lints

Ben Boeckel 2 years ago
parent
commit
22bc92fbc1
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Source/cmGlobalXCodeGenerator.cxx

+ 2 - 1
Source/cmGlobalXCodeGenerator.cxx

@@ -1680,8 +1680,9 @@ void cmGlobalXCodeGenerator::ForceLinkerLanguage(cmGeneratorTarget* gtgt)
   if (const char* productType = GetTargetProductType(gtgt)) {
   if (const char* productType = GetTargetProductType(gtgt)) {
     if (strcmp(productType,
     if (strcmp(productType,
                "com.apple.product-type.app-extension.messages-sticker-pack") ==
                "com.apple.product-type.app-extension.messages-sticker-pack") ==
-        0)
+        0) {
       return;
       return;
+    }
   }
   }
 
 
   // Add an empty source file to the target that compiles with the
   // Add an empty source file to the target that compiles with the