diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2022-02-01 11:11:43 -0500 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2022-02-01 11:11:43 -0500 |
commit | d14d3ddf02356f4a31954f177d0896e916f0e389 (patch) | |
tree | 5ec68bc460b0a955d552e84747d49d560acebe98 /SmartDeviceLink/public | |
parent | bd8041dacc0983fef3946c2bed169b55a62669b1 (diff) | |
download | sdl_ios-d14d3ddf02356f4a31954f177d0896e916f0e389.tar.gz |
Add a break
Diffstat (limited to 'SmartDeviceLink/public')
-rw-r--r-- | SmartDeviceLink/public/SDLSoftButtonObject.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SmartDeviceLink/public/SDLSoftButtonObject.m b/SmartDeviceLink/public/SDLSoftButtonObject.m index 9ab2a3217..9b6251bd6 100644 --- a/SmartDeviceLink/public/SDLSoftButtonObject.m +++ b/SmartDeviceLink/public/SDLSoftButtonObject.m @@ -40,6 +40,7 @@ NS_ASSUME_NONNULL_BEGIN for (SDLSoftButtonState *state in states) { if ([state.name isEqualToString:initialStateName]) { hasStateWithInitialName = YES; + break; } } NSAssert(![SDLSoftButtonObject sdl_hasTwoStatesOfSameName:states], @"A SoftButtonObject must have states with different names."); |