summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLLightControlData.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/SDLLightControlData.m
parentf9002ef9e158a7c0dd84e204345af83517a27361 (diff)
downloadsdl_ios-6f291ca91ad48d44e4caac11f2bba5623b667502.tar.gz
addressed feedback
Diffstat (limited to 'SmartDeviceLink/SDLLightControlData.m')
-rw-r--r--SmartDeviceLink/SDLLightControlData.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLLightControlData.m b/SmartDeviceLink/SDLLightControlData.m
index 80624221d..586fe9a2d 100644
--- a/SmartDeviceLink/SDLLightControlData.m
+++ b/SmartDeviceLink/SDLLightControlData.m
@@ -25,7 +25,7 @@ NS_ASSUME_NONNULL_BEGIN
}
- (NSArray<SDLLightState *> *)lightState {
- NSError *error;
+ NSError *error = nil;
return [store sdl_objectsForName:SDLRPCParameterNameLightState ofClass:SDLLightState.class error:&error];
}