Skip to content

Commit 1dc0419

Browse files
committed
ignore invalid id print in get_ref
1 parent 754661c commit 1dc0419

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/libipc/platform/shm_linux.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ id_t acquire(char const * name, std::size_t size, unsigned mode) {
8383

8484
std::uint32_t get_ref(id_t id) {
8585
if (id == nullptr) {
86-
ipc::error("fail get_ref: invalid id (null)\n");
8786
return 0;
8887
}
8988
auto ii = static_cast<id_info_t*>(id);

0 commit comments

Comments
 (0)