diff options
Diffstat (limited to 'lib/Sema/SemaDeclObjC.cpp')
-rw-r--r-- | lib/Sema/SemaDeclObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp index 7342128715..87acd1e63d 100644 --- a/lib/Sema/SemaDeclObjC.cpp +++ b/lib/Sema/SemaDeclObjC.cpp @@ -273,7 +273,7 @@ void Sema::ActOnStartOfObjCMethodOrCFunctionDef(Scope *FnBodyScope, Decl *D, assert((getCurMethodDecl() == 0 && getCurFunctionDecl() == 0) && "Method/c-function parsing confused"); if (!parseMethod) { - FunctionDecl *FDecl = FDecl = dyn_cast_or_null<FunctionDecl>(D); + FunctionDecl *FDecl = dyn_cast_or_null<FunctionDecl>(D); // If we don't have a valid c-function decl, simply return. if (!FDecl) return; |