[cfe-commits] r64321 - /cfe/trunk/lib/Sema/SemaTemplate.cpp
Douglas Gregor
dgregor at apple.com
Wed Feb 11 12:46:19 PST 2009
Author: dgregor
Date: Wed Feb 11 14:46:19 2009
New Revision: 64321
URL: http://llvm.org/viewvc/llvm-project?rev=64321&view=rev
Log:
Appease the language lawyers
Modified:
cfe/trunk/lib/Sema/SemaTemplate.cpp
Modified: cfe/trunk/lib/Sema/SemaTemplate.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaTemplate.cpp?rev=64321&r1=64320&r2=64321&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaTemplate.cpp (original)
+++ cfe/trunk/lib/Sema/SemaTemplate.cpp Wed Feb 11 14:46:19 2009
@@ -518,7 +518,7 @@
SourceLocation PreviousDefaultArgLoc;
// Self initialization to avoid warnings.
- TemplateParameterList::iterator OldParam = OldParam;
+ TemplateParameterList::iterator OldParam = NewParams->end();
if (OldParams)
OldParam = OldParams->begin();
More information about the cfe-commits
mailing list