From c589d82596bf812669ead1c3df191a71d8bc3351 Mon Sep 17 00:00:00 2001 From: Themaister Date: Tue, 14 Dec 2010 15:19:13 +0100 Subject: [PATCH] Clean up some stupid code. :p --- gl.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gl.c b/gl.c index 5f9ed843e0..f7bf756730 100644 --- a/gl.c +++ b/gl.c @@ -226,10 +226,7 @@ static inline void show_fps(void) if ((frames % 180) == 0 && frames > 0) { gettimeofday(&new_tv, NULL); - struct timeval tmp_tv = { - .tv_sec = tv.tv_sec, - .tv_usec = tv.tv_usec - }; + struct timeval tmp_tv = tv; gettimeofday(&tv, NULL); char tmpstr[256] = {0};