Merge branch 'dermaaarkus-feature/fixWarnings'

pull/1/head
Michael Kirk 7 years ago
commit c5e42b667c

@ -14,13 +14,13 @@ NS_ASSUME_NONNULL_BEGIN
@interface OWSMessagesInputToolbar () <OWSSendMessageGestureDelegate> @interface OWSMessagesInputToolbar () <OWSSendMessageGestureDelegate>
@property (nonatomic) UIView *voiceMemoUI; @property (nonatomic, nullable) UIView *voiceMemoUI;
@property (nonatomic) UIView *voiceMemoContentView; @property (nonatomic) UIView *voiceMemoContentView;
@property (nonatomic) NSDate *voiceMemoStartTime; @property (nonatomic) NSDate *voiceMemoStartTime;
@property (nonatomic) NSTimer *voiceMemoUpdateTimer; @property (nonatomic, nullable) NSTimer *voiceMemoUpdateTimer;
@property (nonatomic) UILabel *recordingLabel; @property (nonatomic) UILabel *recordingLabel;

@ -1107,7 +1107,9 @@ NS_ASSUME_NONNULL_BEGIN
@"Noel", @"Noel",
@"Vang", @"Vang",
]; ];
return values[arc4random_uniform(values.count)];
uint32_t index = arc4random_uniform((uint32_t)values.count);
return values[index];
} }

@ -781,15 +781,15 @@ NS_ASSUME_NONNULL_BEGIN
@"one that comes after it."), @"one that comes after it."),
@"War against a foreign country only happens when the moneyed classes think they are going to profit from it.", @"War against a foreign country only happens when the moneyed classes think they are going to profit from it.",
@"People have only as much liberty as they have the intelligence to want and the courage to take.", @"People have only as much liberty as they have the intelligence to want and the courage to take.",
@"You cannot buy the revolution. You cannot make the revolution. You can only be the revolution. It is in your " (@"You cannot buy the revolution. You cannot make the revolution. You can only be the revolution. It is in your "
@"spirit, or it is nowhere.", @"spirit, or it is nowhere."),
@"That is what I have always understood to be the essence of anarchism: the conviction that the burden of " (@"That is what I have always understood to be the essence of anarchism: the conviction that the burden of "
@"proof has to be placed on authority, and that it should be dismantled if that burden cannot be met.", @"proof has to be placed on authority, and that it should be dismantled if that burden cannot be met."),
@"Ask for work. If they don't give you work, ask for bread. If they do not give you work or bread, then take " (@"Ask for work. If they don't give you work, ask for bread. If they do not give you work or bread, then take "
@"bread.", @"bread."),
@"Every society has the criminals it deserves.", @"Every society has the criminals it deserves.",
@"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer " (@"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer "
@"are wise enough to rule others.", @"are wise enough to rule others."),
@"If you would know who controls you see who you may not criticise.", @"If you would know who controls you see who you may not criticise.",
@"At one time in the world there were woods that no one owned." @"At one time in the world there were woods that no one owned."
]; ];

Loading…
Cancel
Save