Xinqi Bao's Git

get rid of unused variable (silly gcc did not report that error)
[slstatus.git] / slstatus.c
index 6417305..3d9712f 100644 (file)
@@ -269,7 +269,6 @@ static char *
 hostname(void)
 {
        char buf[HOST_NAME_MAX];
-       FILE *fp;
 
        if (gethostname(buf, sizeof(buf)) == -1) {
                warn(1, "hostname");