소스 검색

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

Ali H. Fardan 9 년 전
부모
커밋
39fa14916b
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  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");