* Fix a warning on non-PPC builds

This commit is contained in:
Tim Angus 2005-12-01 18:01:43 +00:00
parent 5bc17ccf4b
commit 31b7243ef3

View file

@ -380,9 +380,9 @@ static void illegal_instruction(int sig)
static void Sys_DetectAltivec(void) static void Sys_DetectAltivec(void)
{ {
// Only detect if user hasn't forcibly disabled it. // Only detect if user hasn't forcibly disabled it.
qboolean altivec = qfalse;
if (com_altivec->integer) { if (com_altivec->integer) {
#if idppc_altivec #if idppc_altivec
qboolean altivec = qfalse;
#ifdef MACOS_X #ifdef MACOS_X
long feat = 0; long feat = 0;
OSErr err = Gestalt(gestaltPowerPCProcessorFeatures, &feat); OSErr err = Gestalt(gestaltPowerPCProcessorFeatures, &feat);