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 /xine_input_vdr.c | |
parent | e0121be1c3bf59b19c121a2e503e60bece3024f6 (diff) | |
download | xineliboutput-71f6adac7431e4096c97b4eb2cc196bdd21ca3d2.tar.gz xineliboutput-71f6adac7431e4096c97b4eb2cc196bdd21ca3d2.tar.bz2 |
Silenced warn_unused_result warnings.
Diffstat (limited to 'xine_input_vdr.c')
-rw-r--r-- | xine_input_vdr.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/xine_input_vdr.c b/xine_input_vdr.c index a6eb3e99..f15b69fe 100644 --- a/xine_input_vdr.c +++ b/xine_input_vdr.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_input_vdr.c,v 1.193 2008-11-15 13:45:50 phintuka Exp $ + * $Id: xine_input_vdr.c,v 1.194 2008-11-16 15:02:45 rofafor Exp $ * */ @@ -4680,7 +4680,10 @@ static void *vdr_data_thread(void *this_gen) LOGDBG("Data thread started"); - (void)nice(-1); + const int priority = -1; + errno = 0; + if((nice(priority) == -1) && errno) + LOGDBG("Data thread: Can't nice to value: %d", priority); if(this->udp || this->rtp) { while(this->control_running) { |