]> granicus.if.org Git - clang/commitdiff
Shut up warnings in Release build.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 2 Aug 2010 07:24:29 +0000 (07:24 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 2 Aug 2010 07:24:29 +0000 (07:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110032 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Checker/PathSensitive/MemRegion.h

index 7b4eac254b990d49f293744cee7b72f5bf6ddee8..5c962ddd243ece7dcaeeca0961c94f6597ca6ca5 100644 (file)
@@ -296,6 +296,7 @@ public:
   /// Compute the offset within the top level memory object.
   virtual RegionOffset getAsOffset() const {
     assert(0 && "unimplemented");
+    return RegionOffset(NULL);
   }
 
   MemRegionManager* getMemRegionManager() const;