Skip to content
Snippets Groups Projects
Verified Commit d52ab56e authored by Bruce Cowan's avatar Bruce Cowan :airplane:
Browse files

Use [[maybe_unused]]

parent a71d218a
No related branches found
No related tags found
No related merge requests found
Pipeline #4318 passed
......@@ -11,8 +11,8 @@
#include <array.h>
static void
print_element (void *data,
void *user_data)
print_element ( void *data,
[[maybe_unused]] void *)
{
printf ("%" PRIdPTR " ", (intptr_t) data);
}
......
......@@ -33,9 +33,9 @@ add_data (HashTable *table)
}
static void
print_all (void *key,
void *value,
void *user_data)
print_all ( void *key,
void *value,
[[maybe_unused]] void *)
{
printf ("%s:%s\n", (const char *) key, (const char *) value);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment