diff options
Diffstat (limited to 'SmartDeviceLink/SDLSingleTireStatus.m')
-rw-r--r-- | SmartDeviceLink/SDLSingleTireStatus.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLSingleTireStatus.m b/SmartDeviceLink/SDLSingleTireStatus.m index 45df91fc5..283e32f51 100644 --- a/SmartDeviceLink/SDLSingleTireStatus.m +++ b/SmartDeviceLink/SDLSingleTireStatus.m @@ -16,7 +16,7 @@ NS_ASSUME_NONNULL_BEGIN } - (SDLComponentVolumeStatus)status { - NSError *error; + NSError *error = nil; return [store sdl_enumForName:SDLRPCParameterNameStatus error:&error]; } @@ -33,7 +33,7 @@ NS_ASSUME_NONNULL_BEGIN } - (nullable NSNumber<SDLFloat> *)pressure { - return [store sdl_objectForName:SDLRPCParameterNamePressure ofClass:NSNumber.class]; + return [store sdl_objectForName:SDLRPCParameterNamePressure ofClass:NSNumber.class error:nil]; } @end |