Skip to content
Permalink
Browse files

none-defaulting

  • Loading branch information
pnkfelix committed Nov 16, 2019
1 parent 2754063 commit c52b9f55c95c55723a32077c72451c772e00e618
Showing with 1 addition and 2 deletions.
  1. +1 −2 tock/kernel/src/lib.rs
@@ -3046,8 +3046,7 @@ impl<C: 'static + Chip> Process<'a, C> {
crate unsafe fn create(
chip: &'static C,
) -> &'static dyn ProcessType {
let mut process: &mut Process<C> =
&mut *((&mut []).as_mut_ptr() as *mut Process<'static, C>);
let mut process: &mut Process<C> = None.unwrap();

process
}

0 comments on commit c52b9f5

Please sign in to comment.
You can’t perform that action at this time.