Explorar o código

get rid of unused variable (silly gcc did not report that error)

Ali H. Fardan %!s(int64=9) %!d(string=hai) anos
pai
achega
39fa14916b
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      slstatus.c

+ 0 - 1
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");