mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-12-04 01:51:16 +00:00
Remove dead code
This commit is contained in:
parent
0eea1a9a9a
commit
1c6e0291d4
3 changed files with 4 additions and 25 deletions
|
@ -84,15 +84,6 @@ void *SafeMalloc( size_t n, char *desc ){
|
|||
return p;
|
||||
}
|
||||
|
||||
#if defined( __linux__ ) || defined( __BSD__ ) || defined( __APPLE__ )
|
||||
void strlwr( char *conv_str ){
|
||||
int i;
|
||||
|
||||
for ( i = 0; i < strlen( conv_str ); i++ )
|
||||
conv_str[i] = tolower( conv_str[i] );
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
// set these before calling CheckParm
|
||||
int myargc;
|
||||
|
|
|
@ -24,6 +24,10 @@
|
|||
|
||||
#define MAXFILES 2048
|
||||
|
||||
#if defined( __linux__ ) || defined( __BSD__ ) || defined( __APPLE__ )
|
||||
#define strlwr strlower
|
||||
#endif
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int x;
|
||||
|
|
|
@ -113,22 +113,6 @@ static char gl_filename[1024];
|
|||
static void ASE_Process( void );
|
||||
static void ASE_FreeGeomObject( int ndx );
|
||||
|
||||
#if defined( __linux__ ) || defined( __BSD__ ) || defined( __APPLE__ )
|
||||
|
||||
static char* strlwr( char* string ){
|
||||
char *cp;
|
||||
for ( cp = string; *cp; ++cp )
|
||||
{
|
||||
if ( 'A' <= *cp && *cp <= 'Z' ) {
|
||||
*cp += 'a' - 'A';
|
||||
}
|
||||
}
|
||||
|
||||
return string;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
** ASE_Load
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue