Fix some of the things clang --analyze flagged
This commit is contained in:
1 parent
352cd151e0
commit
98360bcd57
34 files changed
+58
-112
No files matched your search
@@ -119,7 +119,6 @@ void R_LoadBMP( const char *name, byte **pic, int *width, int *height )
|
||||
ri.Error( ERR_DROP, "LoadBMP: header too short (%s)", name );
|
||||
|
||||
Com_Memcpy( bmpHeader.palette, buf_p, sizeof( bmpHeader.palette ) );
|
||||
buf_p += sizeof(bmpHeader.palette);
|
||||
}
|
||||
|
||||
if (buffer.b + bmpHeader.bitmapDataOffset > end)
|
||||
|
||||
Reference in new issue
Block a user