diff options
author | waker <wakeroid@gmail.com> | 2012-04-05 20:20:43 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-04-05 20:20:43 +0200 |
commit | 721aae59d8d10a242850033f66ac5685ddb9e769 (patch) | |
tree | 059165b44cf04f5186bf1418ca8df6445f5693f5 /plugins | |
parent | e9ba53567e803341c14ed502b2e1934fb25e5296 (diff) |
fixed few missing returns
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/cdda/cdda.c | 1 | ||||
-rw-r--r-- | plugins/dsp_libsrc/src.c | 1 | ||||
-rw-r--r-- | plugins/lastfm/lastfm.c | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/plugins/cdda/cdda.c b/plugins/cdda/cdda.c index 05ea508f..44c04e7a 100644 --- a/plugins/cdda/cdda.c +++ b/plugins/cdda/cdda.c @@ -597,6 +597,7 @@ cda_action_add_cd (DB_plugin_action_t *act, DB_playItem_t *it) deadbeef->plt_unref (plt); } deadbeef->sendmessage (DB_EV_PLAYLISTCHANGED, 0, 0, 0); + return 0; } static DB_plugin_action_t add_cd_action = { diff --git a/plugins/dsp_libsrc/src.c b/plugins/dsp_libsrc/src.c index f6cef816..8544343a 100644 --- a/plugins/dsp_libsrc/src.c +++ b/plugins/dsp_libsrc/src.c @@ -222,6 +222,7 @@ ddb_src_get_param_name (int p) { default: fprintf (stderr, "ddb_src_get_param_name: invalid param index (%d)\n", p); } + return NULL; } void diff --git a/plugins/lastfm/lastfm.c b/plugins/lastfm/lastfm.c index 377947ad..8ab6c5f8 100644 --- a/plugins/lastfm/lastfm.c +++ b/plugins/lastfm/lastfm.c @@ -896,12 +896,14 @@ lfm_action_lookup (DB_plugin_action_t *action, DB_playItem_t *it) return 0; system (command); free (command); + return 0; } static int lfm_action_love (DB_plugin_action_t *act, DB_playItem_t *it) { printf ("Love starts here\n"); + return 0; } static DB_plugin_action_t love_action = { |