]> xenbits.xensource.com Git - people/andrewcoop/hwloc.git/commitdiff
Fix unused parameter warning
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 6 Nov 2013 16:27:35 +0000 (17:27 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 6 Nov 2013 16:27:35 +0000 (17:27 +0100)
utils/lstopo-draw.c

index 384f8115e6f06973d9cdd7facf7d1dbed41f79c9..9021efc76eccf106e0a19906f64fe80d84d8a56f 100644 (file)
@@ -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)