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

This commit is contained in:
Ali H. Fardan committed 2016-10-12 20:54:45 +03:00
1 parent 4339c8330a
commit 39fa14916b
1 file changed
-1
-1
View 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");