Fix the warning of C function with no param
This commit is contained in:
parent
fb50c1d20f
commit
ec278a2fb5
|
@ -13,7 +13,7 @@
|
|||
|
||||
#pragma mark - Image scale
|
||||
|
||||
static inline NSArray<NSNumber *> * _Nonnull SDImageScaleFactors() {
|
||||
static inline NSArray<NSNumber *> * _Nonnull SDImageScaleFactors(void) {
|
||||
return @[@2, @3];
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#import "SDImageAssetManager.h"
|
||||
#import "SDInternalMacros.h"
|
||||
|
||||
static NSArray *SDBundlePreferredScales() {
|
||||
static NSArray *SDBundlePreferredScales(void) {
|
||||
static NSArray *scales;
|
||||
static dispatch_once_t onceToken;
|
||||
dispatch_once(&onceToken, ^{
|
||||
|
|
Loading…
Reference in New Issue