From 01ed0dac83ed27faf5e8dc90c893b1cd0e8a917f Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Mon, 5 Mar 2018 00:56:24 +0100 Subject: [PATCH] util: don't initialize server, it's already done in main() ... this removes a stupid compiler warning too. --- LICENSE | 2 +- util.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LICENSE b/LICENSE index a468f28..8d6d827 100644 --- 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 index d3db040..332a637 100644 --- 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)