r399 - trunk/code/unix

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Dec 1 13:01:43 EST 2005


Author: tma
Date: 2005-12-01 13:01:43 -0500 (Thu, 01 Dec 2005)
New Revision: 399

Modified:
   trunk/code/unix/unix_main.c
Log:
* Fix a warning on non-PPC builds


Modified: trunk/code/unix/unix_main.c
===================================================================
--- trunk/code/unix/unix_main.c	2005-12-01 11:49:02 UTC (rev 398)
+++ trunk/code/unix/unix_main.c	2005-12-01 18:01:43 UTC (rev 399)
@@ -380,9 +380,9 @@
 static void Sys_DetectAltivec(void)
 {
   // Only detect if user hasn't forcibly disabled it.
-  qboolean altivec = qfalse;
   if (com_altivec->integer) {
 #if idppc_altivec
+    qboolean altivec = qfalse;
     #ifdef MACOS_X
     long feat = 0;
     OSErr err = Gestalt(gestaltPowerPCProcessorFeatures, &feat);




More information about the quake3-commits mailing list