Skip to content

Commit

Permalink
remove redundant assert
Browse files Browse the repository at this point in the history
  • Loading branch information
bjjwwang committed May 23, 2024
1 parent 0b20524 commit e49f7a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svf/include/AE/Core/AddressValue.h
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ class AddressValue
static inline u32_t getVirtualMemAddress(u32_t idx)
{
// 0 is the null address, should not be used as a virtual address
assert(idx != 0 && "because 0 represents null pointer");
assert(idx != 0 && "idx can’t be 0 because it represents a nullptr");
return AddressMask + idx;
}

Expand Down

0 comments on commit e49f7a3

Please sign in to comment.