Skip to content

Commit a97a99e

Browse files
tiifoli-obk
andauthored
Update src/shims/unix/linux/epoll.rs
Co-authored-by: Oli Scherer <github35764891676564198441@oli-obk.de>
1 parent 3db865e commit a97a99e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/shims/unix/linux/epoll.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,6 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
472472
if timeout == 0 {
473473
// Non-blocking with no notification returned.
474474
this.write_scalar(Scalar::from_i32(0), &dest)?;
475-
return Ok(());
476475
} else {
477476
// Blocking
478477
let duration = Duration::from_millis(timeout.into());

0 commit comments

Comments
 (0)