From e70b4bb129fe1a69af39a8d2c248342224ee375a Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 31 Jan 2014 19:09:48 +0000 Subject: - ircd.c:set_time(): minor style cleanup git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2979 82007160-df01-0410-b94d-b575c5fd34c7 --- src/ircd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/ircd.c b/src/ircd.c index 08dcefc..f4aa6f8 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -169,9 +169,7 @@ void set_time(void) { static char to_send[IRCD_BUFSIZE]; - struct timeval newtime; - newtime.tv_sec = 0; - newtime.tv_usec = 0; + struct timeval newtime = { .tv_sec = 0, .tv_usec = 0 }; if (gettimeofday(&newtime, NULL) == -1) { -- cgit