Skip to content
Snippets Groups Projects
Commit fee0b0ff authored by adrien-matta's avatar adrien-matta
Browse files

* Fixing clang warning when compiling NPLib

parent 75644ded
No related branches found
No related tags found
No related merge requests found
Pipeline #47251 passed
......@@ -407,8 +407,6 @@ void Reaction::ReadConfigurationFile(string Path){
}
////////////////////////////////////////////////////////////////////////////////
Nucleus Reaction::GetNucleus(string name, NPL::InputParser parser){
vector<NPL::InputBlock*> blocks = parser.GetAllBlocksWithTokenAndValue("DefineNucleus",name);
unsigned int size = blocks.size();
if(size==0)
......@@ -436,6 +434,8 @@ Nucleus Reaction::GetNucleus(string name, NPL::InputParser parser){
else{
NPL::SendErrorAndExit("NPL::Reaction","Too many nuclei define with the same name");
}
return (NPL::Nucleus());
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment