diff options
Diffstat (limited to 'SmartDeviceLink/SDLVideoStreamingFormat.m')
-rw-r--r-- | SmartDeviceLink/SDLVideoStreamingFormat.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLVideoStreamingFormat.m b/SmartDeviceLink/SDLVideoStreamingFormat.m index f4ee4613a..eb031a9c4 100644 --- a/SmartDeviceLink/SDLVideoStreamingFormat.m +++ b/SmartDeviceLink/SDLVideoStreamingFormat.m @@ -25,7 +25,7 @@ NS_ASSUME_NONNULL_BEGIN } - (SDLVideoStreamingProtocol)protocol { - NSError *error; + NSError *error = nil; return [store sdl_enumForName:SDLRPCParameterNameVideoProtocol error:&error]; } @@ -34,7 +34,7 @@ NS_ASSUME_NONNULL_BEGIN } - (SDLVideoStreamingCodec)codec { - NSError *error; + NSError *error = nil; return [store sdl_enumForName:SDLRPCParameterNameVideoCodec error:&error]; } |