mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 23:02:01 +00:00
* Fix a few -pedantic warnings
This commit is contained in:
parent
e8bbb1f2d1
commit
0c99c0c1d2
5 changed files with 5 additions and 5 deletions
|
@ -85,7 +85,7 @@ void CL_StartHunkUsers( void ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// bk001119 - added new dummy for sv_init.c
|
// bk001119 - added new dummy for sv_init.c
|
||||||
void CL_ShutdownAll(void) {};
|
void CL_ShutdownAll(void) {}
|
||||||
|
|
||||||
// bk001208 - added new dummy (RC4)
|
// bk001208 - added new dummy (RC4)
|
||||||
qboolean CL_CDKeyValidate( const char *key, const char *checksum ) { return qtrue; }
|
qboolean CL_CDKeyValidate( const char *key, const char *checksum ) { return qtrue; }
|
||||||
|
|
|
@ -1153,7 +1153,7 @@ struct patchCollide_s *CM_GeneratePatchCollide( int width, int height, vec3_t *p
|
||||||
|
|
||||||
if ( width <= 2 || height <= 2 || !points ) {
|
if ( width <= 2 || height <= 2 || !points ) {
|
||||||
Com_Error( ERR_DROP, "CM_GeneratePatchFacets: bad parameters: (%i, %i, %p)",
|
Com_Error( ERR_DROP, "CM_GeneratePatchFacets: bad parameters: (%i, %i, %p)",
|
||||||
width, height, points );
|
width, height, (void *)points );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !(width & 1) || !(height & 1) ) {
|
if ( !(width & 1) || !(height & 1) ) {
|
||||||
|
|
|
@ -1256,7 +1256,7 @@ void Com_Meminfo_f( void ) {
|
||||||
for (block = mainzone->blocklist.next ; ; block = block->next) {
|
for (block = mainzone->blocklist.next ; ; block = block->next) {
|
||||||
if ( Cmd_Argc() != 1 ) {
|
if ( Cmd_Argc() != 1 ) {
|
||||||
Com_Printf ("block:%p size:%7i tag:%3i\n",
|
Com_Printf ("block:%p size:%7i tag:%3i\n",
|
||||||
block, block->size, block->tag);
|
(void *)block, block->size, block->tag);
|
||||||
}
|
}
|
||||||
if ( block->tag ) {
|
if ( block->tag ) {
|
||||||
zoneBytes += block->size;
|
zoneBytes += block->size;
|
||||||
|
|
|
@ -212,7 +212,7 @@ void callAsmCall(void)
|
||||||
// arbitrarily named (though this is not true for the MSC version). When a vm
|
// arbitrarily named (though this is not true for the MSC version). When a vm
|
||||||
// makes a system call, control jumps straight to the doAsmCall label.
|
// makes a system call, control jumps straight to the doAsmCall label.
|
||||||
void AsmCall( void ) {
|
void AsmCall( void ) {
|
||||||
asm( CMANG(doAsmCall) ": \n\t" \
|
__asm__( CMANG(doAsmCall) ": \n\t" \
|
||||||
" movl (%%edi),%%eax \n\t" \
|
" movl (%%edi),%%eax \n\t" \
|
||||||
" subl $4,%%edi \n\t" \
|
" subl $4,%%edi \n\t" \
|
||||||
" orl %%eax,%%eax \n\t" \
|
" orl %%eax,%%eax \n\t" \
|
||||||
|
|
|
@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#include "../renderer/tr_local.h"
|
#include "../renderer/tr_local.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static qboolean signalcaught = qfalse;;
|
static qboolean signalcaught = qfalse;
|
||||||
|
|
||||||
void Sys_Exit(int); // bk010104 - abstraction
|
void Sys_Exit(int); // bk010104 - abstraction
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue