diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2011-11-09 17:18:29 +0100 |
---|---|---|
committer | Benoit Germain <bnt.germain@gmail.com> | 2011-11-09 17:18:29 +0100 |
commit | d3cf02aa89d8fea98cd89f83fe4ca2c871e744c2 (patch) | |
tree | 9720f30179f7b420c2cedce149b17a422e5734c4 /src/threading.c | |
parent | 7326963a22c73ff9d7c8cb02a3ca16d41decdc91 (diff) | |
download | lanes-d3cf02aa89d8fea98cd89f83fe4ca2c871e744c2.tar.gz lanes-d3cf02aa89d8fea98cd89f83fe4ca2c871e744c2.tar.bz2 lanes-d3cf02aa89d8fea98cd89f83fe4ca2c871e744c2.zip |
some more compilation warning fixes
Diffstat (limited to 'src/threading.c')
-rw-r--r-- | src/threading.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/threading.c b/src/threading.c index 4e3d8f6..22d18d4 100644 --- a/src/threading.c +++ b/src/threading.c | |||
@@ -698,6 +698,7 @@ static void prepare_timeout( struct timespec *ts, time_d abs_secs ) { | |||
698 | /* Since we've set the thread up as PTHREAD_CREATE_DETACHED, we cannot | 698 | /* Since we've set the thread up as PTHREAD_CREATE_DETACHED, we cannot |
699 | * join with it. Use the cond.var. | 699 | * join with it. Use the cond.var. |
700 | */ | 700 | */ |
701 | (void) ref; // unused | ||
701 | MUTEX_LOCK( mu_ref ); | 702 | MUTEX_LOCK( mu_ref ); |
702 | 703 | ||
703 | // 'secs'==0.0 does not need to wait, just take the current status | 704 | // 'secs'==0.0 does not need to wait, just take the current status |