summaryrefslogtreecommitdiffstats
path: root/HostnameMeter.c
diff options
context:
space:
mode:
Diffstat (limited to 'HostnameMeter.c')
-rw-r--r--HostnameMeter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/HostnameMeter.c b/HostnameMeter.c
index db3528c6..676f3f23 100644
--- a/HostnameMeter.c
+++ b/HostnameMeter.c
@@ -17,6 +17,7 @@ int HostnameMeter_attributes[] = {
};
static void HostnameMeter_setValues(Meter* this, char* buffer, int size) {
+ (void) this;
gethostname(buffer, size-1);
}