Sfoglia il codice sorgente

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

master
Ali H. Fardan 8 anni fa
parent
commit
39fa14916b
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. +0
    -1
      slstatus.c

+ 0
- 1
slstatus.c Vedi 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");


Caricamento…
Annulla
Salva