From 97968422f863e47bc91b0ba46e22f7eb0089be38 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 26 Feb 2012 16:01:04 +0900 Subject: [PATCH] Fix an uninitialized variable found by valgrind. --- qw/source/cl_ents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qw/source/cl_ents.c b/qw/source/cl_ents.c index c93065680..3723c9e3a 100644 --- a/qw/source/cl_ents.c +++ b/qw/source/cl_ents.c @@ -392,7 +392,7 @@ CL_LinkPlayers (void) player_state_t exact; player_state_t *state; qboolean clientplayer; - vec3_t org, ang; + vec3_t org, ang = {0, 0, 0}; playertime = realtime - cls.latency + 0.02; if (playertime > realtime)