mirror of
https://github.com/pikami/slstatus.git
synced 2024-11-27 22:05:42 +00:00
get rid of unused variable (silly gcc did not report that error)
This commit is contained in:
parent
4339c8330a
commit
39fa14916b
@ -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…
Reference in New Issue
Block a user