diff options
author | David Robillard <d@drobilla.net> | 2012-07-29 15:59:22 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-07-29 15:59:22 +0000 |
commit | b92ae656e9bef1651817569e3673d38c0a94448d (patch) | |
tree | 2f0956bb9724e6ecbc50f384f981fb30cf58bd6c /src/state.c | |
parent | c39df887f6c931b5c8cf31b714aba44e0b0b05a2 (diff) | |
download | lilv-b92ae656e9bef1651817569e3673d38c0a94448d.tar.gz lilv-b92ae656e9bef1651817569e3673d38c0a94448d.tar.bz2 lilv-b92ae656e9bef1651817569e3673d38c0a94448d.zip |
Fix bogus warning about control reaching end of non-void function.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4568 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/state.c')
-rw-r--r-- | src/state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c index d644528..c058f8d 100644 --- a/src/state.c +++ b/src/state.c @@ -311,11 +311,11 @@ state_strerror(LV2_State_Status st) { switch (st) { case LV2_STATE_SUCCESS: return "Completed successfully"; - case LV2_STATE_ERR_UNKNOWN: return "Unknown error"; case LV2_STATE_ERR_BAD_TYPE: return "Unsupported type"; case LV2_STATE_ERR_BAD_FLAGS: return "Unsupported flags"; case LV2_STATE_ERR_NO_FEATURE: return "Missing features"; case LV2_STATE_ERR_NO_PROPERTY: return "Missing property"; + default: return "Unknown error"; } } |