get rid of unused variable (silly gcc did not report that error) - slstatus - suckless status monitor. mirror from suckless.org
 (HTM) git clone git://git.drkhsh.at/slstatus.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 39fa14916b8a7432ebef574c6739cafc0bc2ed2f
 (DIR) parent 4339c8330a3a9ac2a4000201a286cdda3808b4f6
 (HTM) Author: Ali H. Fardan <raiz@firemail.cc>
       Date:   Wed, 12 Oct 2016 20:54:45 +0300
       
       get rid of unused variable (silly gcc did not report that error)
       
       Diffstat:
         M slstatus.c                          |       1 -
       
       1 file changed, 0 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/slstatus.c b/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");