summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli H. Fardan <raiz@firemail.cc>2016-10-12 20:54:45 +0300
committerAli H. Fardan <raiz@firemail.cc>2016-10-12 20:54:45 +0300
commit39fa14916b8a7432ebef574c6739cafc0bc2ed2f (patch)
treed248e311b961a71d0d496c1f6af272b89a97398f
parent4339c8330a3a9ac2a4000201a286cdda3808b4f6 (diff)
get rid of unused variable (silly gcc did not report that error)
-rw-r--r--slstatus.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/slstatus.c b/slstatus.c
index 6417305..3d9712f 100644
--- a/slstatus.c
+++ b/slstatus.c
@@ -269,7 +269,6 @@ static char *
hostname(void)
{
char buf[HOST_NAME_MAX];
- FILE *fp;
if (gethostname(buf, sizeof(buf)) == -1) {
warn(1, "hostname");