summaryrefslogtreecommitdiff
path: root/src/renderergl1/tr_marks.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2013-03-26 16:50:03 +0000
committerTim Angus <tim@ngus.net>2013-03-27 11:33:16 +0000
commitecf45acd236aaf1a0d2b00a94a24d8f24fbceae4 (patch)
tree23d703104aa48a4533daed653d5c429f73dccb05 /src/renderergl1/tr_marks.c
parenta6e5804c1162832fa99d31c88033cbf6f1efd2f0 (diff)
Fix some of the things clang --analyze flagged
Diffstat (limited to 'src/renderergl1/tr_marks.c')
-rw-r--r--src/renderergl1/tr_marks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/renderergl1/tr_marks.c b/src/renderergl1/tr_marks.c
index f85a1244..05afb16c 100644
--- a/src/renderergl1/tr_marks.c
+++ b/src/renderergl1/tr_marks.c
@@ -42,8 +42,8 @@ Out must have space for two more vertexes than in
static void R_ChopPolyBehindPlane( int numInPoints, vec3_t inPoints[MAX_VERTS_ON_POLY],
int *numOutPoints, vec3_t outPoints[MAX_VERTS_ON_POLY],
vec3_t normal, vec_t dist, vec_t epsilon) {
- float dists[MAX_VERTS_ON_POLY+4];
- int sides[MAX_VERTS_ON_POLY+4];
+ float dists[MAX_VERTS_ON_POLY+4] = { 0 };
+ int sides[MAX_VERTS_ON_POLY+4] = { 0 };
int counts[3];
float dot;
int i, j;