diff options
author | phintuka <phintuka> | 2010-05-21 12:51:33 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2010-05-21 12:51:33 +0000 |
commit | 203f8dd9b6719bc2b244e3ceaf27bf386446227c (patch) | |
tree | 43ab89b8c150c048593c82557c5870477ade6668 | |
parent | 4db3863b07d8bfabf31505a1b8cfdb724986e958 (diff) | |
download | xineliboutput-203f8dd9b6719bc2b244e3ceaf27bf386446227c.tar.gz xineliboutput-203f8dd9b6719bc2b244e3ceaf27bf386446227c.tar.bz2 |
Added default case to switch.
Log unknown post parameter types.
(Thanks to Winfried Koehler)
-rw-r--r-- | xine/post.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xine/post.c b/xine/post.c index 6c637634..508e7fd9 100644 --- a/xine/post.c +++ b/xine/post.c @@ -200,6 +200,10 @@ static void __pplugin_update_parameters(xine_post_t *post, char *args) _pplugin_update_parameter(&pobj); } break; + case POST_PARAM_TYPE_LAST: + break; /* terminator of parameter list */ + default: + LOGMSG("%s(%d): Unknown post parameter type %d!", __FUNCTION__, __LINE__, pobj.param->type); } } else { LOGMSG("Unknown post plugin parameter %s !", param); |