mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
iOS: Don't pass a non-literal format string to NSLog
Benign as written since neither string contains a format specifier, but it's exactly the pattern -Wformat-security exists to catch. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01JZk5y4Fzw811WJoNWZb8Sc
This commit is contained in:
1 parent
56affb3cb9
commit
d3012ea1db
1 file changed
+1
-1
+1
-1
@@ -130,7 +130,7 @@
|
||||
switch (transaction.transactionState) {
|
||||
case SKPaymentTransactionStatePurchased:
|
||||
case SKPaymentTransactionStateRestored:
|
||||
NSLog(transaction.transactionState == SKPaymentTransactionStatePurchased ? @"IAP Purchase" : @"IAP Restore");
|
||||
NSLog(@"%@", transaction.transactionState == SKPaymentTransactionStatePurchased ? @"IAP Purchase" : @"IAP Restore");
|
||||
// Perform the unlock (updaing the variable and switching the icon).
|
||||
[self unlockGold];
|
||||
[[SKPaymentQueue defaultQueue] finishTransaction:transaction];
|
||||
|
||||
Reference in new issue
Block a user