diff options
author | Vinson Lee <[email protected]> | 2009-12-29 21:11:37 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-12-29 21:11:37 -0800 |
commit | 0ab29d2b35bff913818f34d1979295a98cbe2b71 (patch) | |
tree | b2557f4da4a72a6886e9e6de43b3472f7192aec6 /progs/glsl/shtest.c | |
parent | 70bbe2236668bdee9131dc2e6f71e53f9bc78863 (diff) |
progs/glsl: Silence compiler warnings.
Diffstat (limited to 'progs/glsl/shtest.c')
-rw-r--r-- | progs/glsl/shtest.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/progs/glsl/shtest.c b/progs/glsl/shtest.c index 88315d74614..3c795437f42 100644 --- a/progs/glsl/shtest.c +++ b/progs/glsl/shtest.c @@ -493,7 +493,9 @@ ReadConfigFile(const char *filename, struct config_file *conf) /* ugly but functional parser */ while (!feof(f)) { - fgets(line, sizeof(line), f); + char *result; + result = fgets(line, sizeof(line), f); + (void) result; if (!feof(f) && line[0]) { if (strncmp(line, "vs ", 3) == 0) { VertShaderFile = strdup(line + 3); |