Bläddra i källkod

fix remove Xcode warning for anyAttribute

Jonas Budelmann 10 år sedan
förälder
incheckning
1232b3e6e8
1 ändrade filer med 1 tillägg och 1 borttagningar
  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(...)");