netreg: Remove default statement
authorAki Niemi <aki.niemi@nokia.com>
Tue, 18 Jan 2011 08:51:49 +0000 (10:51 +0200)
committerAki Niemi <aki.niemi@nokia.com>
Tue, 18 Jan 2011 12:02:59 +0000 (14:02 +0200)
src/network.c

index 6a96d17..ae0f334 100644 (file)
@@ -104,9 +104,9 @@ static const char *registration_mode_to_string(int mode)
                return "manual";
        case NETWORK_REGISTRATION_MODE_OFF:
                return "off";
-       default:
-               return "unknown";
        }
+
+       return "unknown";
 }
 
 static inline const char *network_operator_status_to_string(int status)