Fix warnings introduced by r165826.
authorDeLesley Hutchins <delesley@google.com>
Fri, 12 Oct 2012 21:49:04 +0000 (21:49 +0000)
committerDeLesley Hutchins <delesley@google.com>
Fri, 12 Oct 2012 21:49:04 +0000 (21:49 +0000)
llvm-svn: 165829

clang/lib/Sema/SemaDecl.cpp

index a00f60f..4161078 100644 (file)
@@ -1739,6 +1739,8 @@ DeclHasAttr(const Decl *D, const Attr *A) {
     case attr::AcquiredBefore:
     case attr::AcquiredAfter:
       return false;
+    default:
+      ;
   }
 
   const OwnershipAttr *OA = dyn_cast<OwnershipAttr>(A);