Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Commit

Permalink
Ignore warning related to unused const variables in BITAttributedLabel.
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Scholtysik (Reimold) committed Aug 3, 2017
1 parent 98f5fc7 commit e711965
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Classes/BITAttributedLabel.m
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,12 @@
static const NSTextAlignment BITTextAlignmentNatural = NSTextAlignmentNatural;

static const NSLineBreakMode BITLineBreakByWordWrapping = NSLineBreakByWordWrapping;

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-const-variable"
static const NSLineBreakMode BITLineBreakByCharWrapping = NSLineBreakByCharWrapping;
static const NSLineBreakMode BITLineBreakByClipping = NSLineBreakByClipping;
#pragma clang diagnostic pop
static const NSLineBreakMode BITLineBreakByTruncatingHead = NSLineBreakByTruncatingHead;
static const NSLineBreakMode BITLineBreakByTruncatingMiddle = NSLineBreakByTruncatingMiddle;
static const NSLineBreakMode BITLineBreakByTruncatingTail = NSLineBreakByTruncatingTail;
Expand Down

0 comments on commit e711965

Please sign in to comment.