diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-04-02 15:51:11 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-04-02 15:51:11 +0000 |
commit | 68eb732cc6e17c765a00eb6841130b0e3b9de9b3 (patch) | |
tree | 09b70957b6fc85fed1edcfa6d4a66a26a1a4062e /src/arm/gnunet-arm.c | |
parent | 63d32c4e2c33221de970ca4158b2aca5c4505e18 (diff) | |
download | gnunet-68eb732cc6e17c765a00eb6841130b0e3b9de9b3.tar.gz gnunet-68eb732cc6e17c765a00eb6841130b0e3b9de9b3.zip |
- warn on missing cases
Diffstat (limited to 'src/arm/gnunet-arm.c')
-rw-r--r-- | src/arm/gnunet-arm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arm/gnunet-arm.c b/src/arm/gnunet-arm.c index 38e274d6e..6611ae5ec 100644 --- a/src/arm/gnunet-arm.c +++ b/src/arm/gnunet-arm.c | |||
@@ -206,9 +206,8 @@ req_string (enum GNUNET_ARM_RequestStatus rs) | |||
206 | return _("Request doesn't fit into a message"); | 206 | return _("Request doesn't fit into a message"); |
207 | case GNUNET_ARM_REQUEST_TIMEOUT: | 207 | case GNUNET_ARM_REQUEST_TIMEOUT: |
208 | return _("Request timed out"); | 208 | return _("Request timed out"); |
209 | default: | ||
210 | return _("Unknown request status"); | ||
211 | } | 209 | } |
210 | return _("Unknown request status"); | ||
212 | } | 211 | } |
213 | 212 | ||
214 | static const char * | 213 | static const char * |
@@ -220,6 +219,8 @@ ret_string (enum GNUNET_ARM_Result result) | |||
220 | return _("%s is stopped"); | 219 | return _("%s is stopped"); |
221 | case GNUNET_ARM_RESULT_STARTING: | 220 | case GNUNET_ARM_RESULT_STARTING: |
222 | return _("%s is starting"); | 221 | return _("%s is starting"); |
222 | case GNUNET_ARM_RESULT_STOPPING: | ||
223 | return _("%s is stopping"); | ||
223 | case GNUNET_ARM_RESULT_IS_STARTING_ALREADY: | 224 | case GNUNET_ARM_RESULT_IS_STARTING_ALREADY: |
224 | return _("%s is starting already"); | 225 | return _("%s is starting already"); |
225 | case GNUNET_ARM_RESULT_IS_STOPPING_ALREADY: | 226 | case GNUNET_ARM_RESULT_IS_STOPPING_ALREADY: |
@@ -234,9 +235,8 @@ ret_string (enum GNUNET_ARM_Result result) | |||
234 | return _("%s service failed to start"); | 235 | return _("%s service failed to start"); |
235 | case GNUNET_ARM_RESULT_IN_SHUTDOWN: | 236 | case GNUNET_ARM_RESULT_IN_SHUTDOWN: |
236 | return _("%s service can't be started because ARM is shutting down"); | 237 | return _("%s service can't be started because ARM is shutting down"); |
237 | default: | ||
238 | return _("Unknown result code."); | ||
239 | } | 238 | } |
239 | return _("%.s Unknown result code."); | ||
240 | } | 240 | } |
241 | 241 | ||
242 | static void action_loop (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc); | 242 | static void action_loop (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc); |