mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix CQS signal modernize-use-nullptr in xplat/js/react-native-github/packages/react-native/ReactCommon/react/renderer/imagemanager/platform/ios/react/renderer/imagemanager
Reviewed By: dtolnay Differential Revision: D76127542
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ae40886a0d
commit
39fb0c786c
+1
-1
@@ -144,7 +144,7 @@ inline static NSURLRequest *NSURLRequestFromImageSource(const facebook::react::I
|
||||
for (const auto &header : imageSource.headers) {
|
||||
NSString *key = [NSString stringWithUTF8String:header.first.c_str()];
|
||||
NSString *value = [NSString stringWithUTF8String:header.second.c_str()];
|
||||
if (key != NULL && value != NULL) {
|
||||
if (key != nullptr && value != nullptr) {
|
||||
[request setValue:value forHTTPHeaderField:key];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user