summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLGetSystemCapabilityResponse.m
diff options
context:
space:
mode:
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];
}