mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Useless warning silencing
git-svn-id: https://svn.eduke32.com/eduke32@7091 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
49de74fc3d
commit
7bd8c55e32
3 changed files with 3 additions and 3 deletions
|
@ -92,7 +92,7 @@ static inline fix16_t fix16_abs(fix16_t x)
|
|||
static inline fix16_t fix16_floor(fix16_t x)
|
||||
{ return (x & 0xFFFF0000UL); }
|
||||
static inline fix16_t fix16_ceil(fix16_t x)
|
||||
{ return (x & 0xFFFF0000UL) + (x & 0x0000FFFFUL ? fix16_one : 0); }
|
||||
{ return (x & 0xFFFF0000UL) + ((x & 0x0000FFFFUL) ? fix16_one : 0); }
|
||||
static inline fix16_t fix16_min(fix16_t x, fix16_t y)
|
||||
{ return (x < y ? x : y); }
|
||||
static inline fix16_t fix16_max(fix16_t x, fix16_t y)
|
||||
|
|
|
@ -163,7 +163,7 @@ const char * OSD_StripColors(char *outBuf, const char *inBuf)
|
|||
int OSD_Exec(const char *szScript)
|
||||
{
|
||||
int err = 0;
|
||||
int32_t handle, len;
|
||||
int32_t handle, len = 0;
|
||||
char *buf = NULL;
|
||||
|
||||
if ((handle = kopen4load(szScript, 0)) == -1)
|
||||
|
|
|
@ -15,7 +15,7 @@ static FORCE_INLINE void png_write_uint32(uint32_t const in)
|
|||
static void png_write_chunk(uint32_t const size, char const *const type,
|
||||
uint8_t const *const data, uint32_t flags)
|
||||
{
|
||||
mz_ulong chunk_size = flags & CHUNK_COMPRESSED ? compressBound(size) : size;
|
||||
mz_ulong chunk_size = (flags & CHUNK_COMPRESSED) ? compressBound(size) : size;
|
||||
uint8_t * const chunk = (uint8_t *) Xcalloc(1, 4 + chunk_size);
|
||||
|
||||
Bmemcpy(chunk, type, 4);
|
||||
|
|
Loading…
Reference in a new issue