From cfee798a10d895fd2e11d6304236eef400e4751d Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 3 Oct 2009 12:00:23 +0000 Subject: * Remove unnecessary (and harmful) memset --- src/cgame/cg_weapons.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/cgame/cg_weapons.c b/src/cgame/cg_weapons.c index c6826962..8a95e096 100644 --- a/src/cgame/cg_weapons.c +++ b/src/cgame/cg_weapons.c @@ -536,8 +536,6 @@ static qboolean CG_ParseWeaponFile( const char *filename, weaponInfo_t *wi ) fileHandle_t f; weaponMode_t weaponMode = WPM_NONE; - Com_Memset( wi, 0, sizeof( weaponInfo_t ) ); - // load the file len = trap_FS_FOpenFile( filename, &f, FS_READ ); if( len < 0 ) -- cgit