[libcxxabi] r217367 - Remove an unused typedef from __class_type_info::search_below_dst

Alexander Potapenko glider at google.com
Mon Sep 8 06:56:37 PDT 2014


Author: glider
Date: Mon Sep  8 08:56:36 2014
New Revision: 217367

URL: http://llvm.org/viewvc/llvm-project?rev=217367&view=rev
Log:
Remove an unused typedef from __class_type_info::search_below_dst
to fix the -Wunused-local-typedef warning.

Modified:
    libcxxabi/trunk/src/private_typeinfo.cpp

Modified: libcxxabi/trunk/src/private_typeinfo.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/private_typeinfo.cpp?rev=217367&r1=217366&r2=217367&view=diff
==============================================================================
--- libcxxabi/trunk/src/private_typeinfo.cpp (original)
+++ libcxxabi/trunk/src/private_typeinfo.cpp Mon Sep  8 08:56:36 2014
@@ -957,7 +957,6 @@ __class_type_info::search_below_dst(__dy
                                     int path_below,
                                     bool use_strcmp) const
 {
-    typedef const __base_class_type_info* Iter;
     if (is_equal(this, info->static_type, use_strcmp))
         process_static_type_below_dst(info, current_ptr, path_below);
     else if (is_equal(this, info->dst_type, use_strcmp))





More information about the cfe-commits mailing list