summaryrefslogtreecommitdiff
path: root/src/renderergl1/tr_shader.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2014-08-30 17:29:09 +0100
committerTim Angus <tim@ngus.net>2015-03-17 11:38:07 +0000
commit61f78e272375bba4c55e8a976c9f73e6ed1b5713 (patch)
treefa832f3c63db10d0ddb9d936e05b2a5e20b1bb33 /src/renderergl1/tr_shader.c
parentf67547574ba6f11f8e52ceba614992ca953aae4a (diff)
Fix a few warnings
Diffstat (limited to 'src/renderergl1/tr_shader.c')
-rw-r--r--src/renderergl1/tr_shader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderergl1/tr_shader.c b/src/renderergl1/tr_shader.c
index 1408902d..f84d02c6 100644
--- a/src/renderergl1/tr_shader.c
+++ b/src/renderergl1/tr_shader.c
@@ -2916,7 +2916,7 @@ a single large text block that can be scanned for shader names
static void ScanAndLoadShaderFiles( void )
{
char **shaderFiles;
- char *buffers[MAX_SHADER_FILES];
+ char *buffers[MAX_SHADER_FILES] = {0};
char *p;
int numShaderFiles;
int i;