Fix some warnings with clang

This commit is contained in:
Yamagi Burmeister 2011-06-27 14:40:16 +00:00
parent 54eec20990
commit 0aa45e9736
3 changed files with 5 additions and 3 deletions

View file

@ -29,6 +29,8 @@
#include <sys/time.h>
#include <errno.h>
#define OV_EXCLUDE_STATIC_CALLBACKS
#include <vorbis/vorbisfile.h>
#include "../header/client.h"

View file

@ -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;

View file

@ -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: