Files
collectd/collectd-fix_attr_unused.patch
Thomas Renninger 86cede1d91 - Update to version 5.12.0.366.gc254dc2c:
* Fix FreeBSD image for Cirrus CI
  * Fix build due to error in curl_easy_setopt
  * Update BUILD.dpdkstat.md
  * src: add NULL check for severity in logparser_config_message
  * scr: daemon: fix memory leak in plugin_register_cache_event() in plugin.c
  * src: fix memory leak in config parser in write_syslog.c
  * configure.ac: use pkg-config to find libgcrypt
  * Fix deprecated actions/upload-artifact@v3 in GitHub Actions
  * Format correction
  * When UseSerial is enabled, allow configured ignored disk names to be copied to the serial ignore list for devices without serials.
  * processes: Do not post metrics from processes that are not running.
- Add patch:
  - collectd-fix_attr_unused.patch

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=188
2025-10-16 19:03:30 +00:00

12 lines
389 B
Diff

--- a/src/virt.c 2025-10-16 14:19:22.100971296 +0200
+++ b/src/virt.c 2025-10-16 14:20:20.193829575 +0200
@@ -2206,7 +2206,7 @@
return 0;
}
-static void virt_eventloop_timeout_cb(int timer ATTRIBUTE_UNUSED,
+static void virt_eventloop_timeout_cb(__attribute__((unused)) int timer,
void *timer_info) {}
static int register_event_impl(void) {