Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/mathic/Action.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ namespace mathic {
std::vector<std::string> tokens,
CliParser& parser
) {
(void)parser;

if (!tokens.empty()) {
reportError("Expected a dash (-) to indicate an option when reading \"" +
tokens.front() + "\".");
Expand Down
6 changes: 5 additions & 1 deletion src/mathic/DivMask.h
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,11 @@ namespace mathic {
public:
void resetDivMask() {MATHIC_ASSERT(false);}
DivMask getDivMask() const {MATHIC_ASSERT(false); return DivMask();}
bool canDivide(const HasDivMask<false>& t) const {return true;}
bool canDivide(const HasDivMask<false>& t) const
{
(void)t;
return true;
}
template<bool B>
void updateToLowerBound(const HasDivMask<B>& entry) {}
};
Expand Down
1 change: 1 addition & 0 deletions src/mathic/HelpAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ namespace mathic {
}

void HelpAction::pushBackParameters(std::vector<CliParameter*>& parameters) {
(void)parameters;
}

namespace {
Expand Down
2 changes: 2 additions & 0 deletions src/mathic/PairQueue.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,12 @@ namespace mathic {
void undoAdd() {}

void retireIndex(size_t index) {
(void)index;
MATHIC_ASSERT(false); // this method should not be called.
}

bool retired(size_t index) const {
(void)index;
return false;
}
};
Expand Down