summaryrefslogtreecommitdiff
path: root/slstatus.c
diff options
context:
space:
mode:
Diffstat (limited to 'slstatus.c')
-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");