get rid of unused variable (silly gcc did not report that error)
authorAli H. Fardan <raiz@firemail.cc>
Wed, 12 Oct 2016 17:54:45 +0000 (20:54 +0300)
committerAli H. Fardan <raiz@firemail.cc>
Wed, 12 Oct 2016 17:54:45 +0000 (20:54 +0300)
slstatus.c

index 641730515d9953b56a33973426ba0d448ff4d80f..3d9712f10b7b75549ba5bfd840f658a2c4c109a9 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");