Commit 237b5f44 authored by Fred Drake's avatar Fred Drake

Andy Dustman <adustman@users.sourceforge.net>:

Eliminate unused variables to appease compiler.
parent 602aa77d
...@@ -47,7 +47,6 @@ static void PyThread__init_thread(void) ...@@ -47,7 +47,6 @@ static void PyThread__init_thread(void)
int PyThread_start_new_thread(void (*func)(void *), void *arg) int PyThread_start_new_thread(void (*func)(void *), void *arg)
{ {
pth_t th; pth_t th;
int success;
dprintf(("PyThread_start_new_thread called\n")); dprintf(("PyThread_start_new_thread called\n"));
if (!initialized) if (!initialized)
PyThread_init_thread(); PyThread_init_thread();
...@@ -145,7 +144,6 @@ PyThread_type_lock PyThread_allocate_lock(void) ...@@ -145,7 +144,6 @@ PyThread_type_lock PyThread_allocate_lock(void)
void PyThread_free_lock(PyThread_type_lock lock) void PyThread_free_lock(PyThread_type_lock lock)
{ {
pth_lock *thelock = (pth_lock *)lock; pth_lock *thelock = (pth_lock *)lock;
int status, error = 0;
dprintf(("PyThread_free_lock(%p) called\n", lock)); dprintf(("PyThread_free_lock(%p) called\n", lock));
...@@ -246,7 +244,6 @@ PyThread_type_sema PyThread_allocate_sema(int value) ...@@ -246,7 +244,6 @@ PyThread_type_sema PyThread_allocate_sema(int value)
void PyThread_free_sema(PyThread_type_sema sema) void PyThread_free_sema(PyThread_type_sema sema)
{ {
int status, error = 0;
struct semaphore *thesema = (struct semaphore *) sema; struct semaphore *thesema = (struct semaphore *) sema;
dprintf(("PyThread_free_sema(%p) called\n", sema)); dprintf(("PyThread_free_sema(%p) called\n", sema));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment