diff options
author | Fred Drake <fdrake@acm.org> | 2000-10-12 20:58:32 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-10-12 20:58:32 (GMT) |
commit | 237b5f44c753f953c3b22fe944357b811a201bb5 (patch) | |
tree | b637c719160608bdb4df8e35913be2407bad9119 /Python/thread_pth.h | |
parent | 602aa77d2f099c5966d0374c6cfa2bc3c4d4b908 (diff) | |
download | cpython-237b5f44c753f953c3b22fe944357b811a201bb5.zip cpython-237b5f44c753f953c3b22fe944357b811a201bb5.tar.gz cpython-237b5f44c753f953c3b22fe944357b811a201bb5.tar.bz2 |
Andy Dustman <adustman@users.sourceforge.net>:
Eliminate unused variables to appease compiler.
Diffstat (limited to 'Python/thread_pth.h')
-rw-r--r-- | Python/thread_pth.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/thread_pth.h b/Python/thread_pth.h index a5ae91b..6596b1a 100644 --- a/Python/thread_pth.h +++ b/Python/thread_pth.h @@ -47,7 +47,6 @@ static void PyThread__init_thread(void) int PyThread_start_new_thread(void (*func)(void *), void *arg) { pth_t th; - int success; dprintf(("PyThread_start_new_thread called\n")); if (!initialized) PyThread_init_thread(); @@ -145,7 +144,6 @@ PyThread_type_lock PyThread_allocate_lock(void) void PyThread_free_lock(PyThread_type_lock lock) { pth_lock *thelock = (pth_lock *)lock; - int status, error = 0; dprintf(("PyThread_free_lock(%p) called\n", lock)); @@ -246,7 +244,6 @@ PyThread_type_sema PyThread_allocate_sema(int value) void PyThread_free_sema(PyThread_type_sema sema) { - int status, error = 0; struct semaphore *thesema = (struct semaphore *) sema; dprintf(("PyThread_free_sema(%p) called\n", sema)); |