summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/cl_keys.c1
-rw-r--r--src/qcommon/common.c2
-rw-r--r--src/qcommon/files.c1
-rw-r--r--src/qcommon/vm_powerpc.c2
-rw-r--r--src/renderergl1/tr_surface.c1
-rw-r--r--src/renderergl2/tr_surface.c1
-rw-r--r--src/tools/asm/q3asm.c2
-rw-r--r--src/tools/lcc/cpp/cpp.c1
-rw-r--r--src/tools/lcc/cpp/include.c1
-rw-r--r--src/tools/lcc/cpp/macro.c1
-rw-r--r--src/zlib/inffast.c1
11 files changed, 0 insertions, 14 deletions
diff --git a/src/client/cl_keys.c b/src/client/cl_keys.c
index 3023a2c8..c9c8af53 100644
--- a/src/client/cl_keys.c
+++ b/src/client/cl_keys.c
@@ -1230,7 +1230,6 @@ void CL_KeyDownEvent( int key, unsigned time )
// send the bound action
CL_ParseBinding( key, qtrue, time );
- return;
}
/*
diff --git a/src/qcommon/common.c b/src/qcommon/common.c
index 2b92bbd1..edfca8c9 100644
--- a/src/qcommon/common.c
+++ b/src/qcommon/common.c
@@ -1407,8 +1407,6 @@ void Com_InitSmallZoneMemory( void ) {
Com_Error( ERR_FATAL, "Small zone data failed to allocate %1.1f megs", (float)s_smallZoneTotal / (1024*1024) );
}
Z_ClearZone( smallzone, s_smallZoneTotal );
-
- return;
}
void Com_InitZoneMemory( void ) {
diff --git a/src/qcommon/files.c b/src/qcommon/files.c
index dc77fa53..c8266fb0 100644
--- a/src/qcommon/files.c
+++ b/src/qcommon/files.c
@@ -2772,7 +2772,6 @@ void FS_Which_f( void ) {
}
Com_Printf("File not found: \"%s\"\n", filename);
- return;
}
diff --git a/src/qcommon/vm_powerpc.c b/src/qcommon/vm_powerpc.c
index cf7de30f..02c2d2ee 100644
--- a/src/qcommon/vm_powerpc.c
+++ b/src/qcommon/vm_powerpc.c
@@ -1962,8 +1962,6 @@ PPC_ComputeCode( vm_t *vm )
di_now = di_first;
}
}
-
- return;
}
static void
diff --git a/src/renderergl1/tr_surface.c b/src/renderergl1/tr_surface.c
index 4b8944cd..bf3e5856 100644
--- a/src/renderergl1/tr_surface.c
+++ b/src/renderergl1/tr_surface.c
@@ -1203,7 +1203,6 @@ static void RB_SurfaceEntity( surfaceType_t *surfType ) {
RB_SurfaceAxis();
break;
}
- return;
}
static void RB_SurfaceBad( surfaceType_t *surfType ) {
diff --git a/src/renderergl2/tr_surface.c b/src/renderergl2/tr_surface.c
index 6159c768..601501b5 100644
--- a/src/renderergl2/tr_surface.c
+++ b/src/renderergl2/tr_surface.c
@@ -1562,7 +1562,6 @@ static void RB_SurfaceEntity( surfaceType_t *surfType ) {
RB_SurfaceAxis();
break;
}
- return;
}
static void RB_SurfaceBad( surfaceType_t *surfType ) {
diff --git a/src/tools/asm/q3asm.c b/src/tools/asm/q3asm.c
index 383f318f..44a42196 100644
--- a/src/tools/asm/q3asm.c
+++ b/src/tools/asm/q3asm.c
@@ -251,7 +251,6 @@ static void hashtable_init (hashtable_t *H, int buckets)
{
H->buckets = buckets;
H->table = calloc(H->buckets, sizeof(*(H->table)));
- return;
}
static hashtable_t *hashtable_new (int buckets)
@@ -286,7 +285,6 @@ static void hashtable_add (hashtable_t *H, int hashvalue, void *datum)
}
hc->data = datum;
hc->next = 0;
- return;
}
static hashchain_t *hashtable_get (hashtable_t *H, int hashvalue)
diff --git a/src/tools/lcc/cpp/cpp.c b/src/tools/lcc/cpp/cpp.c
index 1fcffbc5..b999d212 100644
--- a/src/tools/lcc/cpp/cpp.c
+++ b/src/tools/lcc/cpp/cpp.c
@@ -250,7 +250,6 @@ control(Tokenrow *trp)
break;
}
setempty(trp);
- return;
}
void *
diff --git a/src/tools/lcc/cpp/include.c b/src/tools/lcc/cpp/include.c
index 1bb88475..54c0b77a 100644
--- a/src/tools/lcc/cpp/include.c
+++ b/src/tools/lcc/cpp/include.c
@@ -108,7 +108,6 @@ doinclude(Tokenrow *trp)
return;
syntax:
error(ERROR, "Syntax error in #include");
- return;
}
/*
diff --git a/src/tools/lcc/cpp/macro.c b/src/tools/lcc/cpp/macro.c
index 49d11297..71102570 100644
--- a/src/tools/lcc/cpp/macro.c
+++ b/src/tools/lcc/cpp/macro.c
@@ -218,7 +218,6 @@ expand(Tokenrow *trp, Nlist *np)
insertrow(trp, ntokc, &ntr);
trp->tp -= rowlen(&ntr);
dofree(ntr.bp);
- return;
}
/*
diff --git a/src/zlib/inffast.c b/src/zlib/inffast.c
index bbee92ed..11bcbb0b 100644
--- a/src/zlib/inffast.c
+++ b/src/zlib/inffast.c
@@ -298,7 +298,6 @@ unsigned start; /* inflate()'s starting value for strm->avail_out */
257 + (end - out) : 257 - (out - end));
state->hold = hold;
state->bits = bits;
- return;
}
/*