summaryrefslogtreecommitdiff
path: root/src/core/testasyncgetprop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/testasyncgetprop.c')
-rw-r--r--src/core/testasyncgetprop.c19
1 files changed, 6 insertions, 13 deletions
diff --git a/src/core/testasyncgetprop.c b/src/core/testasyncgetprop.c
index 826d7f41..d357dbea 100644
--- a/src/core/testasyncgetprop.c
+++ b/src/core/testasyncgetprop.c
@@ -81,12 +81,6 @@ print_backtrace (void)
}
#endif
-#ifdef __GNUC__
-#define UNUSED_VARIABLE __attribute__ ((unused))
-#else
-#define UNUSED_VARIABLE
-#endif
-
static int error_trap_depth = 0;
static int
@@ -422,7 +416,6 @@ run_speed_comparison (Display *xdisplay,
while ((task = ag_get_next_completed_task (xdisplay)))
{
- int UNUSED_VARIABLE result;
Atom actual_type;
int actual_format;
unsigned long n_items;
@@ -432,12 +425,12 @@ run_speed_comparison (Display *xdisplay,
assert (ag_task_have_reply (task));
data = NULL;
- result = ag_task_get_reply_and_free (task,
- &actual_type,
- &actual_format,
- &n_items,
- &bytes_after,
- &data);
+ ag_task_get_reply_and_free (task,
+ &actual_type,
+ &actual_format,
+ &n_items,
+ &bytes_after,
+ &data);
if (data)
XFree (data);