summaryrefslogtreecommitdiffstats
path: root/HostnameMeter.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2010-02-25 01:43:18 +0000
committerHisham Muhammad <hisham@gobolinux.org>2010-02-25 01:43:18 +0000
commit02a30bfecdd841b4ca48acfc9b5f2df7930e7a69 (patch)
tree0a86343ad37f77c10ed6cea35b49e5ff2b926163 /HostnameMeter.c
parent5cc89986887de19c8898ce36e3776b3483a72f2d (diff)
warning fixes
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);
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy