We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d10446e commit f5e4f02Copy full SHA for f5e4f02
1 file changed
api/kernel/os.hpp
@@ -211,8 +211,7 @@ class OS {
211
212
if (bootinfo_ and bootinfo_->flags & MULTIBOOT_INFO_MODS) {
213
214
- Expects(bootinfo_->mods_count > 0
215
- and bootinfo_->mods_count < std::numeric_limits<int>::max());
+ Expects(bootinfo_->mods_count < std::numeric_limits<int>::max());
216
217
return Span_mods{
218
reinterpret_cast<multiboot_module_t*>(bootinfo_->mods_addr),
0 commit comments