diff options
author | Heikki Kallasjoki <fis@zem.fi> | 2018-11-30 16:50:28 +0000 |
---|---|---|
committer | Heikki Kallasjoki <fis@zem.fi> | 2018-11-30 16:50:28 +0000 |
commit | 5a33aec2b710e4d21377e5b82f4b0bdf6a13a408 (patch) | |
tree | 01accfa838fa90a24fc350405f9263772220b897 /meminfo.c | |
parent | e2a859d54f9c8a0498b79acc1c3d27732a41759e (diff) | |
download | nano-exporter-5a33aec2b710e4d21377e5b82f4b0bdf6a13a408.tar.gz nano-exporter-5a33aec2b710e4d21377e5b82f4b0bdf6a13a408.tar.xz nano-exporter-5a33aec2b710e4d21377e5b82f4b0bdf6a13a408.zip |
Clean up compiler warnings.
Diffstat (limited to 'meminfo.c')
-rw-r--r-- | meminfo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meminfo.c b/meminfo.c index 52641d2..dae2b8c 100644 --- a/meminfo.c +++ b/meminfo.c @@ -26,6 +26,8 @@ const struct collector meminfo_collector = { }; static void meminfo_collect(scrape_req *req, void *ctx) { + (void) ctx; + // buffers char buf[BUF_SIZE] = METRIC_PREFIX; |