diff options
author | Vinson Lee <[email protected]> | 2010-02-22 23:49:50 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-02-22 23:49:50 -0800 |
commit | 83a5b7e4689dcc36789f567847ccf65db858a9f3 (patch) | |
tree | 05080fcb109924b7c3eca0808e90a0061f4f142a /src/glsl/apps/compile.c | |
parent | a0fe36a39b92780efd2374b66f16b39e541f1172 (diff) |
glsl/apps: Assert that ftell does not return an error.
Diffstat (limited to 'src/glsl/apps/compile.c')
-rw-r--r-- | src/glsl/apps/compile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/apps/compile.c b/src/glsl/apps/compile.c index 3b3c083c2e1..21c2b7617e9 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"); |