From 3638bfbbe2659241db3f954534429d57263bf56d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ce=CC=81dric=20Luthi?= Date: Mon, 25 Jun 2012 10:34:19 +0200 Subject: [PATCH] Fix compiler warning --- Classes/GlossyButtonViewController.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Classes/GlossyButtonViewController.m b/Classes/GlossyButtonViewController.m index 5dc55e4..78a15f0 100644 --- a/Classes/GlossyButtonViewController.m +++ b/Classes/GlossyButtonViewController.m @@ -157,6 +157,8 @@ - (void) saveButtonInState:(UIControlState)state scale:(CGFloat)scale case UIControlStateDisabled: buttonName = [NSString stringWithFormat:@"glossyButton-disabled%@.png", xSuffix]; break; + default: + break; } // Use dlsym so that it still compiles with the 3.1.3 SDK, could aslo use #if __IPHONE_OS_VERSION_MAX_ALLOWED < 40000