DAAppsViewController icon indicating copy to clipboard operation
DAAppsViewController copied to clipboard

below code produces an error

Open superllanboy opened this issue 9 years ago • 0 comments

ifdef __IPHONE_8_0

    if (&SKStoreProductParameterAffiliateToken) {
        if (self.affiliateToken) {
            [appParameters setObject:self.affiliateToken forKey:SKStoreProductParameterAffiliateToken];
            if (self.campaignToken) {
                [appParameters setObject:self.campaignToken forKey:SKStoreProductParameterCampaignToken];
            }
        }
    }

the above code produces a warning 'address of skstoreproductparameteraffiliatetoken will always evaluate to true

how to silence this warning?

superllanboy avatar Jan 23 '16 18:01 superllanboy