mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-29 15:51:45 +00:00
Fix some warnings with clang
This commit is contained in:
parent
54eec20990
commit
0aa45e9736
3 changed files with 5 additions and 3 deletions
|
@ -29,6 +29,8 @@
|
|||
|
||||
#include <sys/time.h>
|
||||
#include <errno.h>
|
||||
|
||||
#define OV_EXCLUDE_STATIC_CALLBACKS
|
||||
#include <vorbis/vorbisfile.h>
|
||||
|
||||
#include "../header/client.h"
|
||||
|
|
|
@ -1284,7 +1284,7 @@ unzReadCurrentFile(file, buf, len)
|
|||
return UNZ_PARAMERROR;
|
||||
|
||||
|
||||
if ((pfile_in_zip_read_info->read_buffer == NULL))
|
||||
if (pfile_in_zip_read_info->read_buffer == NULL)
|
||||
return UNZ_END_OF_LIST_OF_FILE;
|
||||
if (len == 0)
|
||||
return 0;
|
||||
|
|
|
@ -410,7 +410,7 @@ R_RenderBrushPoly ( msurface_t *fa )
|
|||
}
|
||||
|
||||
/* dynamic this frame or dynamic previously */
|
||||
if ( ( fa->dlightframe == r_framecount ) )
|
||||
if ( fa->dlightframe == r_framecount )
|
||||
{
|
||||
dynamic:
|
||||
|
||||
|
@ -630,7 +630,7 @@ R_RenderLightmappedPoly ( msurface_t *surf )
|
|||
}
|
||||
}
|
||||
|
||||
if ( ( surf->dlightframe == r_framecount ) )
|
||||
if ( surf->dlightframe == r_framecount )
|
||||
{
|
||||
dynamic:
|
||||
|
||||
|
|
Loading…
Reference in a new issue