[cfe-commits] r121221 - /cfe/trunk/lib/CodeGen/CGBuiltin.cpp

Chandler Carruth chandlerc at gmail.com
Tue Dec 7 17:29:17 PST 2010


Author: chandlerc
Date: Tue Dec  7 19:29:17 2010
New Revision: 121221

URL: http://llvm.org/viewvc/llvm-project?rev=121221&view=rev
Log:
Silence an unused variable warning.

Modified:
    cfe/trunk/lib/CodeGen/CGBuiltin.cpp

Modified: cfe/trunk/lib/CodeGen/CGBuiltin.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGBuiltin.cpp?rev=121221&r1=121220&r2=121221&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGBuiltin.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGBuiltin.cpp Tue Dec  7 19:29:17 2010
@@ -1169,6 +1169,7 @@
   bool usgn = type & 0x08;
   bool quad = type & 0x10;
   bool poly = (type & 0x7) == 5 || (type & 0x7) == 6;
+  (void)poly;  // Only used in assert()s.
   bool splat = false;
   bool rightShift = false;
 





More information about the cfe-commits mailing list