quark

quark web server
git clone git://git.suckless.org/quark
Log | Files | Refs | LICENSE

commit 01ed0dac83ed27faf5e8dc90c893b1cd0e8a917f
parent c8401c591fac7fd98349e05e595cdbe861998a90
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon,  5 Mar 2018 00:56:24 +0100

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

... this removes a stupid compiler warning too.

Diffstat:
LICENSE | 2+-
util.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/LICENSE b/LICENSE @@ -5,7 +5,7 @@ Copyright 2016-2018 Laslo Hunhold <dev@frign.de> Copyright 2004 Ted Unangst <tedu@openbsd.org> Copyright 2004 Todd C. Miller <Todd.Miller@courtesan.com> 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 2018 Josuah Demangeon <mail@josuah.net> diff --git a/util.c b/util.c @@ -12,7 +12,7 @@ #include "util.h" char *argv0; -struct server s = { 0 }; +struct server s; static void verr(const char *fmt, va_list ap)