* dec-thread.c (dec_thread_count_gdb_threads)
(dec_thread_add_gdb_thread): Prevent -Wunused warning.
2010-01-12 Joel Brobecker <brobecker@adacore.com>
+ Fix -Wunused warning in dec-thread.c.
+ * dec-thread.c (dec_thread_count_gdb_threads)
+ (dec_thread_add_gdb_thread): Prevent -Wunused warning.
+
+2010-01-12 Joel Brobecker <brobecker@adacore.com>
+
* ada-valprint.c (ada_print_floating): Remove trailing space.
2010-01-12 Joel Brobecker <brobecker@adacore.com>
{
int *count = (int *) context;
- *count++;
+ (void) *count++; /* The cast to void is to prevent a -Wunused warning. */
return 0;
}
struct thread_info ***listp = (struct thread_info ***) context;
**listp = info;
- *listp++;
+ (void) *listp++; /* The cast to void is to prevent a -Wunused warning. */
return 0;
}