about summary refs log tree commit diff
path: root/hwmon.c
diff options
context:
space:
mode:
authorHeikki Kallasjoki <fis@zem.fi>2018-11-30 16:50:28 +0000
committerHeikki Kallasjoki <fis@zem.fi>2018-11-30 16:50:28 +0000
commit5a33aec2b710e4d21377e5b82f4b0bdf6a13a408 (patch)
tree01accfa838fa90a24fc350405f9263772220b897 /hwmon.c
parente2a859d54f9c8a0498b79acc1c3d27732a41759e (diff)
downloadnano-exporter-5a33aec2b710e4d21377e5b82f4b0bdf6a13a408.tar.gz
nano-exporter-5a33aec2b710e4d21377e5b82f4b0bdf6a13a408.tar.xz
nano-exporter-5a33aec2b710e4d21377e5b82f4b0bdf6a13a408.zip
Clean up compiler warnings.
Diffstat (limited to 'hwmon.c')
-rw-r--r--hwmon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hwmon.c b/hwmon.c
index 4ec7b8a..feadb8f 100644
--- a/hwmon.c
+++ b/hwmon.c
@@ -167,6 +167,8 @@ static void hwmon_name(const char *path, char *dst, size_t dst_len) {
 }
 
 static void hwmon_collect(scrape_req *req, void *ctx) {
+  (void) ctx;
+
   // buffers
 
   char chip_label[LABEL_SIZE];