summaryrefslogtreecommitdiff
path: root/src/glsl/apps/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/apps/compile.c')
-rw-r--r--src/glsl/apps/compile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/apps/compile.c b/src/glsl/apps/compile.c
index 3b3c083c2e..21c2b7617e 100644
--- a/src/glsl/apps/compile.c
+++ b/src/glsl/apps/compile.c
@@ -79,6 +79,7 @@ main(int argc,
fseek(in, 0, SEEK_END);
size = ftell(in);
+ assert(size != -1);
fseek(in, 0, SEEK_SET);
out = fopen(argv[3], "w");