summaryrefslogtreecommitdiff
path: root/progs/glsl/shtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/glsl/shtest.c')
-rw-r--r--progs/glsl/shtest.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/progs/glsl/shtest.c b/progs/glsl/shtest.c
index 88315d7461..3c795437f4 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);