summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLDeleteCommand.m
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLDeleteCommand.m')
-rw-r--r--SmartDeviceLink/SDLDeleteCommand.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLDeleteCommand.m b/SmartDeviceLink/SDLDeleteCommand.m
index dec3dd105..cc8b80feb 100644
--- a/SmartDeviceLink/SDLDeleteCommand.m
+++ b/SmartDeviceLink/SDLDeleteCommand.m
@@ -34,7 +34,7 @@ NS_ASSUME_NONNULL_BEGIN
}
- (NSNumber<SDLInt> *)cmdID {
- NSError *error;
+ NSError *error = nil;
return [parameters sdl_objectForName:SDLRPCParameterNameCommandId ofClass:NSNumber.class error:&error];
}