Skip to content

Commit 4e356cd

Browse files
authored
Merge pull request #6653 from hoopoepg/topic/suppressed-coverity-issue
OSHMEM/free: suppressed coverity issue
2 parents 02bf863 + 4df8c1b commit 4e356cd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

oshmem/shmem/c/shmem_free.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ static inline void _shfree(void* ptr)
5959

6060
if (ptr) {
6161
s = memheap_find_va(ptr);
62-
} else {
63-
s = NULL;
6462
}
6563

6664
if (s && s->allocator) {

0 commit comments

Comments
 (0)