Explorar el Código

fix remove Xcode warning for anyAttribute

Jonas Budelmann hace 10 años
padre
commit
1232b3e6e8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Masonry/MASConstraintMaker.m

+ 1 - 1
Masonry/MASConstraintMaker.m

@@ -75,7 +75,7 @@
 }
 
 - (MASConstraint *)addConstraintWithAttributes:(MASAttribute)attrs {
-    MASAttribute anyAttribute = MASAttributeLeft | MASAttributeRight | MASAttributeTop | MASAttributeBottom | MASAttributeLeading | MASAttributeTrailing | MASAttributeWidth | MASAttributeHeight | MASAttributeCenterX | MASAttributeCenterY | MASAttributeBaseline;
+    __unused MASAttribute anyAttribute = MASAttributeLeft | MASAttributeRight | MASAttributeTop | MASAttributeBottom | MASAttributeLeading | MASAttributeTrailing | MASAttributeWidth | MASAttributeHeight | MASAttributeCenterX | MASAttributeCenterY | MASAttributeBaseline;
     
     NSAssert((attrs & anyAttribute) != 0, @"You didn't pass any attribute to make.attributes(...)");