summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLGetSystemCapabilityResponse.m
diff options
context:
space:
mode:
authorMihail Vyrko <mvyrko@qulix.com>2019-04-03 14:42:48 +0300
committerMihail Vyrko <mvyrko@qulix.com>2019-04-03 14:42:48 +0300
commit6f291ca91ad48d44e4caac11f2bba5623b667502 (patch)
tree1d6da87857cb81e023e27986d3c5ad50985823d6 /SmartDeviceLink/SDLGetSystemCapabilityResponse.m
parentf9002ef9e158a7c0dd84e204345af83517a27361 (diff)
downloadsdl_ios-6f291ca91ad48d44e4caac11f2bba5623b667502.tar.gz
addressed feedback
Diffstat (limited to 'SmartDeviceLink/SDLGetSystemCapabilityResponse.m')
-rw-r--r--SmartDeviceLink/SDLGetSystemCapabilityResponse.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLGetSystemCapabilityResponse.m b/SmartDeviceLink/SDLGetSystemCapabilityResponse.m
index 126a87147..e1cd63f90 100644
--- a/SmartDeviceLink/SDLGetSystemCapabilityResponse.m
+++ b/SmartDeviceLink/SDLGetSystemCapabilityResponse.m
@@ -32,7 +32,7 @@ NS_ASSUME_NONNULL_BEGIN
}
- (SDLSystemCapability *)systemCapability {
- NSError *error;
+ NSError *error = nil;
return [parameters sdl_objectForName:SDLRPCParameterNameSystemCapability ofClass:SDLSystemCapability.class error:&error];
}