mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Fix clang complaining about control reaching end of non-void function
This commit is contained in:
parent
74b7e53bbb
commit
ce04299f30
10 changed files with 49 additions and 24 deletions
|
|
@ -389,6 +389,7 @@ distribcell_path_inner(int32_t target_cell, int32_t map, int32_t target_offset,
|
|||
return path.str();
|
||||
}
|
||||
}
|
||||
throw std::runtime_error{"Error determining distribcell path."};
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue