From: Samuel Thibault Date: Wed, 6 Nov 2013 16:27:35 +0000 (+0100) Subject: Fix unused parameter warning X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=e37cb23f5aa93ae4123ce5dfad37ac0cf56ce4f1;p=people%2Fandrewcoop%2Fhwloc.git Fix unused parameter warning --- diff --git a/utils/lstopo-draw.c b/utils/lstopo-draw.c index 384f8115..9021efc7 100644 --- a/utils/lstopo-draw.c +++ b/utils/lstopo-draw.c @@ -427,7 +427,8 @@ lstopo_obj_snprintf(char *text, size_t textlen, hwloc_obj_t obj, int logical) static struct draw_methods getmax_draw_methods; static void -lstopo_set_object_color(struct draw_methods *methods, hwloc_topology_t topology, +lstopo_set_object_color(struct draw_methods *methods, + hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t obj, int arg, /* PU status (0=normal, 1=running, 2=forbidden, 3=offline) * Machine status (0=normal, 1=displayed as a root/System) */ struct style *s)