remove some unneeded code

This commit is contained in:
Bill Currie 2003-07-09 15:34:58 +00:00
parent 855fc53709
commit 0cf0f710b7
3 changed files with 0 additions and 32 deletions

View file

@ -39,20 +39,6 @@ static __attribute__ ((unused)) const char rcsid[] =
# include <strings.h>
#endif
#ifdef HAVE_FNMATCH_H
# define model_t sunmodel_t
# include <fnmatch.h>
# undef model_t
#else
# ifdef WIN32
# include "fnmatch.h"
# endif
#endif
#ifndef HAVE_FNMATCH_PROTO
int fnmatch (const char *__pattern, const char *__string, int __flags);
#endif
#include "QF/csqc.h"
#include "QF/progs.h"
#include "QF/quakefs.h"

View file

@ -39,20 +39,6 @@ static __attribute__ ((unused)) const char rcsid[] =
# include <strings.h>
#endif
#ifdef HAVE_FNMATCH_H
# define model_t sunmodel_t
# include <fnmatch.h>
# undef model_t
#else
# ifdef WIN32
# include "fnmatch.h"
# endif
#endif
#ifndef HAVE_FNMATCH_PROTO
int fnmatch (const char *__pattern, const char *__string, int __flags);
#endif
#include "QF/csqc.h"
#include "QF/progs.h"
#include "QF/quakefs.h"

View file

@ -91,9 +91,6 @@ Mod_DecompressVis (byte * in, model_t *model)
row = (model->numleafs + 7) >> 3;
out = decompressed;
#if 0
memcpy (out, in, row);
#else
if (!in) { // no vis info, so make all visible
while (row) {
*out++ = 0xff;
@ -115,7 +112,6 @@ Mod_DecompressVis (byte * in, model_t *model)
c--;
}
} while (out - decompressed < row);
#endif
return decompressed;
}