]> granicus.if.org Git - clang/commitdiff
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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165829 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaDecl.cpp

index a00f60f681b6014564388ed6d9ce402328c6db62..4161078d656e56ec87221a8903bab35bc9803b96 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);