util: don't initialize server, it's already done in main()

... this removes a stupid compiler warning too.
This commit is contained in:
Hiltjo Posthuma 2018-03-05 00:56:24 +01:00 committed by Laslo Hunhold
parent c8401c591f
commit 01ed0dac83
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ Copyright 2016-2018 Laslo Hunhold <dev@frign.de>
Copyright 2004 Ted Unangst <tedu@openbsd.org> Copyright 2004 Ted Unangst <tedu@openbsd.org>
Copyright 2004 Todd C. Miller <Todd.Miller@courtesan.com> Copyright 2004 Todd C. Miller <Todd.Miller@courtesan.com>
Copyright 2008 Otto Moerbeek <otto@drijf.net> Copyright 2008 Otto Moerbeek <otto@drijf.net>
Copyright 2017 Hiltjo Posthuma <hiltjo@codemadness.org> Copyright 2017-2018 Hiltjo Posthuma <hiltjo@codemadness.org>
Copyright 2017-2018 Quentin Rameau <quinq@fifth.space> Copyright 2017-2018 Quentin Rameau <quinq@fifth.space>
Copyright 2018 Josuah Demangeon <mail@josuah.net> Copyright 2018 Josuah Demangeon <mail@josuah.net>

2
util.c
View file

@ -12,7 +12,7 @@
#include "util.h" #include "util.h"
char *argv0; char *argv0;
struct server s = { 0 }; struct server s;
static void static void
verr(const char *fmt, va_list ap) verr(const char *fmt, va_list ap)