aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-04-12 18:58:06 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-04-12 18:58:06 +0000
commit14d055dbf81a59857883a6cac578847e44557870 (patch)
treee49e8964f0c8d5d8208db2e6c9d83923871c1a80
parentfee5bebf147f40dd27b3f10a1b1c5610933d1fc5 (diff)
downloadioquake3-aero-14d055dbf81a59857883a6cac578847e44557870.tar.gz
ioquake3-aero-14d055dbf81a59857883a6cac578847e44557870.zip
* Fix some recently introduced warnings
* Fix referenced pk3 list including excessive number of spaces git-svn-id: svn://svn.icculus.org/quake3/trunk@1315 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--code/client/cl_main.c2
-rw-r--r--code/qcommon/files.c6
-rw-r--r--code/ui/ui_main.c1
3 files changed, 4 insertions, 5 deletions
diff --git a/code/client/cl_main.c b/code/client/cl_main.c
index 3c8625e..582fd19 100644
--- a/code/client/cl_main.c
+++ b/code/client/cl_main.c
@@ -1843,7 +1843,7 @@ void CL_ServersResponsePacket( netadr_t from, msg_t *msg ) {
int numservers;
byte* buffptr;
byte* buffend;
- netadrtype_t family;
+ netadrtype_t family = NA_IP;
Com_Printf("CL_ServersResponsePacket\n");
diff --git a/code/qcommon/files.c b/code/qcommon/files.c
index 07ecfac..dcdb7bc 100644
--- a/code/qcommon/files.c
+++ b/code/qcommon/files.c
@@ -3112,10 +3112,10 @@ const char *FS_ReferencedPakNames( void ) {
for ( search = fs_searchpaths ; search ; search = search->next ) {
// is the element a pak file?
if ( search->pack ) {
- if (*info) {
- Q_strcat(info, sizeof( info ), " " );
- }
if (search->pack->referenced || Q_stricmpn(search->pack->pakGamename, BASEGAME, strlen(BASEGAME))) {
+ if (*info) {
+ Q_strcat(info, sizeof( info ), " " );
+ }
Q_strcat( info, sizeof( info ), search->pack->pakGamename );
Q_strcat( info, sizeof( info ), "/" );
Q_strcat( info, sizeof( info ), search->pack->pakBasename );
diff --git a/code/ui/ui_main.c b/code/ui/ui_main.c
index c06ecdd..2fccf16 100644
--- a/code/ui/ui_main.c
+++ b/code/ui/ui_main.c
@@ -5939,7 +5939,6 @@ UI_StartServerRefresh
*/
static void UI_StartServerRefresh(qboolean full)
{
- int i;
char *ptr;
qtime_t q;