From: Nico Weber Date: Fri, 2 May 2014 21:22:21 +0000 (+0000) Subject: Remove unused typedef found by gcc's -Wunused-local-typedefs. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4b7fc5455c12a3a7194c073b72c1d9e1fcd9d39;p=clang Remove unused typedef found by gcc's -Wunused-local-typedefs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207870 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/ThreadSafety.cpp b/lib/Analysis/ThreadSafety.cpp index 967379ab78..b34b4814b6 100644 --- a/lib/Analysis/ThreadSafety.cpp +++ b/lib/Analysis/ThreadSafety.cpp @@ -1612,8 +1612,6 @@ template void ThreadSafetyAnalyzer::getMutexIDs(MutexIDList &Mtxs, AttrType *Attr, Expr *Exp, const NamedDecl *D, VarDecl *SelfDecl) { - typedef typename AttrType::args_iterator iterator_type; - if (Attr->args_size() == 0) { // The mutex held is the "this" object. SExpr Mu(0, Exp, D, SelfDecl);