modify code to suppress or fix warnings in gcc and clang (#41)

* first fix to start branch PR

* explicit conversion from sizet to int

* Array.h and DiagonalMatrix.h

* many sizet to int conversions

* removed some unused variables and added expl overrides

* removed many unused parameters

* more typing

* even more

* last of the easy changes
This commit is contained in:
John Dupuy
2023-12-08 11:00:00 -06:00
committed by GitHub
parent 8eb7d5d59c
commit 87ed8700e2
85 changed files with 349 additions and 320 deletions

View File

@@ -28,7 +28,7 @@
using namespace MbD;
void CADSystem::outputFor(AnalysisType type)
void CADSystem::outputFor(AnalysisType)
{
auto str = std::to_string(mbdSystem->mbdTimeValue());
this->logString(str);
@@ -45,7 +45,7 @@ void CADSystem::logString(std::string& str)
std::cout << str << std::endl;
}
void CADSystem::logString(double value)
void CADSystem::logString(double)
{
}
@@ -834,7 +834,7 @@ void CADSystem::runPiston()
TheSystem->runKINEMATIC(TheSystem);
}
void MbD::CADSystem::preMbDrun(std::shared_ptr<System> mbdSys)
void MbD::CADSystem::preMbDrun(std::shared_ptr<System>)
{
}