server: remove dead initializations (clang)
André Hentschel
nerv at dawncrow.de
Tue Jul 5 14:38:01 CDT 2011
---
server/handle.c | 2 +-
server/thread.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/handle.c b/server/handle.c
index 2aaec37..9d91f16 100644
--- a/server/handle.c
+++ b/server/handle.c
@@ -126,7 +126,7 @@ static void handle_table_dump( struct object *obj, int verbose )
{
int i;
struct handle_table *table = (struct handle_table *)obj;
- struct handle_entry *entry = table->entries;
+ struct handle_entry *entry;
assert( obj->ops == &handle_table_ops );
diff --git a/server/thread.c b/server/thread.c
index d0fdc30..f704473 100644
--- a/server/thread.c
+++ b/server/thread.c
@@ -586,7 +586,7 @@ static int check_wait( struct thread *thread )
{
int i, signaled;
struct thread_wait *wait = thread->wait;
- struct wait_queue_entry *entry = wait->queues;
+ struct wait_queue_entry *entry;
assert( wait );
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list