| util: don't initialize server, it's already done in main() - quark - quark web server |
| git clone git://git.suckless.org/quark |
| Log |
| Files |
| Refs |
| LICENSE |
| --- |
| commit 01ed0dac83ed27faf5e8dc90c893b1cd0e8a917f |
| parent c8401c591fac7fd98349e05e595cdbe861998a90 |
| Author: Hiltjo Posthuma |
| 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:
M LICENSE | 2 +-
M 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
Copyright 2004 Ted Unangst
Copyright 2004 Todd C. Miller
Copyright 2008 Otto Moerbeek
-Copyright 2017 Hiltjo Posthuma
+Copyright 2017-2018 Hiltjo Posthuma
Copyright 2017-2018 Quentin Rameau
Copyright 2018 Josuah Demangeon
|
| 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) |