Browse Source

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

master
Ali H. Fardan 9 years ago
parent
commit
39fa14916b
  1. 1
      slstatus.c

1
slstatus.c

@ -269,7 +269,6 @@ static char *
hostname(void) hostname(void)
{ {
char buf[HOST_NAME_MAX]; char buf[HOST_NAME_MAX];
FILE *fp;
if (gethostname(buf, sizeof(buf)) == -1) { if (gethostname(buf, sizeof(buf)) == -1) {
warn(1, "hostname"); warn(1, "hostname");

Loading…
Cancel
Save