From b7cf4434188c545fa24bf6ef4502dba32629e29d Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Fri, 18 Apr 2014 15:56:22 +0400 Subject: [PATCH] Coverity annotation fixes --- libuavcan/include/uavcan/dynamic_memory.hpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/libuavcan/include/uavcan/dynamic_memory.hpp b/libuavcan/include/uavcan/dynamic_memory.hpp index 7bec0f66cb..6e605af022 100644 --- a/libuavcan/include/uavcan/dynamic_memory.hpp +++ b/libuavcan/include/uavcan/dynamic_memory.hpp @@ -23,9 +23,7 @@ class UAVCAN_EXPORT IPoolAllocator public: virtual ~IPoolAllocator() { } - // coverity[+alloc] virtual void* allocate(std::size_t size) = 0; - // coverity[+free : arg-0] virtual void deallocate(const void* ptr) = 0; virtual bool isInPool(const void* ptr) const = 0; @@ -55,9 +53,7 @@ public: bool addPool(IPoolAllocator* pool); - // coverity[+alloc] void* allocate(std::size_t size); - // coverity[+free : arg-0] void deallocate(const void* ptr); bool isInPool(const void* ptr) const; @@ -90,9 +86,7 @@ public: PoolAllocator(); - // coverity[+alloc] void* allocate(std::size_t size); - // coverity[+free : arg-0] void deallocate(const void* ptr); bool isInPool(const void* ptr) const; @@ -120,9 +114,7 @@ public: assert(max_blocks_ > 0); } - // coverity[+alloc] void* allocate(std::size_t size); - // coverity[+free : arg-0] void deallocate(const void* ptr); bool isInPool(const void* ptr) const;