diff options
author | Tim Angus <tim@ngus.net> | 2013-03-26 16:50:03 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-03-27 11:33:16 +0000 |
commit | ecf45acd236aaf1a0d2b00a94a24d8f24fbceae4 (patch) | |
tree | 23d703104aa48a4533daed653d5c429f73dccb05 /src/renderergl2/tr_bsp.c | |
parent | a6e5804c1162832fa99d31c88033cbf6f1efd2f0 (diff) |
Fix some of the things clang --analyze flagged
Diffstat (limited to 'src/renderergl2/tr_bsp.c')
-rw-r--r-- | src/renderergl2/tr_bsp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/renderergl2/tr_bsp.c b/src/renderergl2/tr_bsp.c index 9b26241b..824e6c2b 100644 --- a/src/renderergl2/tr_bsp.c +++ b/src/renderergl2/tr_bsp.c @@ -2124,8 +2124,6 @@ static void R_CreateWorldVBO(void) } - startTime = ri.Milliseconds(); - ri.Free(surfacesSorted); ri.Hunk_FreeTempMemory(triangles); @@ -2152,7 +2150,6 @@ static void R_LoadSurfaces( lump_t *surfs, lump_t *verts, lump_t *indexLump ) { numTriSurfs = 0; numFlares = 0; - in = (void *)(fileBase + surfs->fileofs); if (surfs->filelen % sizeof(*in)) ri.Error (ERR_DROP, "LoadMap: funny lump size in %s",s_worldData.name); count = surfs->filelen / sizeof(*in); |