forked from enlightenment/efl
Fix unused var warning when not building on linux.
This commit is contained in:
parent
6f1f49b4f6
commit
3ab1b8afd8
|
@ -49,7 +49,7 @@ eina_sched_prio_drop(void)
|
|||
{
|
||||
#ifdef EFL_HAVE_POSIX_THREADS
|
||||
struct sched_param param;
|
||||
int pol, prio, ret;
|
||||
int pol, ret;
|
||||
pthread_t pthread_id;
|
||||
|
||||
pthread_id = pthread_self();
|
||||
|
@ -76,6 +76,7 @@ eina_sched_prio_drop(void)
|
|||
# ifdef __linux__
|
||||
else
|
||||
{
|
||||
int prio;
|
||||
errno = 0;
|
||||
prio = getpriority(PRIO_PROCESS, 0);
|
||||
if (errno == 0)
|
||||
|
|
Loading…
Reference in New Issue