diff options
author | rofafor <rofafor> | 2008-11-16 15:02:45 +0000 |
---|---|---|
committer | rofafor <rofafor> | 2008-11-16 15:02:45 +0000 |
commit | 71f6adac7431e4096c97b4eb2cc196bdd21ca3d2 (patch) | |
tree | 2bc518959a54a5594c6bc63d43dc8fe38bf70f15 /tools/playlist.c | |
parent | e0121be1c3bf59b19c121a2e503e60bece3024f6 (diff) | |
download | xineliboutput-71f6adac7431e4096c97b4eb2cc196bdd21ca3d2.tar.gz xineliboutput-71f6adac7431e4096c97b4eb2cc196bdd21ca3d2.tar.bz2 |
Silenced warn_unused_result warnings.
Diffstat (limited to 'tools/playlist.c')
-rw-r--r-- | tools/playlist.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/playlist.c b/tools/playlist.c index a9b3d2ea..cb9cbeba 100644 --- a/tools/playlist.c +++ b/tools/playlist.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: playlist.c,v 1.20 2008-10-31 20:55:57 phintuka Exp $ + * $Id: playlist.c,v 1.21 2008-11-16 15:02:45 rofafor Exp $ * */ @@ -144,8 +144,10 @@ class cID3Scanner : public cThread { cPlaylistItem *Item = NULL; unsigned int Version = 0; - - (void)nice(10); + const int priority = 10; + errno = 0; + if((nice(priority) == -1) && errno) + LOGDBG("ID3Scanner: Can't nice to value: %d", priority); LOGDBG("ID3Scanner Started"); while(Running()) { |