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: 1 addition & 1 deletion src/sst/core/eli/categoryInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class ProvidesCategory
}
}

void toString(std::ostream& UNUSED(os)) const { os << " Category: " << categoryName(cat_) << "\n"; }
void toString(std::ostream& os) const { os << " Category: " << categoryName(cat_) << "\n"; }

template <class XMLNode>
void outputXML(XMLNode* UNUSED(node))
Expand Down
4 changes: 2 additions & 2 deletions src/sst/core/impl/interactive/simpleDebug.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ class SimpleDebugger : public SST::InteractiveConsole

std::vector<std::string> tokenize(std::vector<std::string>& tokens, const std::string& input);

void cmd_pwd(std::vector<std::string>& UNUSED(tokens));
void cmd_ls(std::vector<std::string>& UNUSED(tokens));
void cmd_pwd(std::vector<std::string>& tokens);
void cmd_ls(std::vector<std::string>& tokens);
void cmd_cd(std::vector<std::string>& tokens);
void cmd_print(std::vector<std::string>& tokens);
void cmd_set(std::vector<std::string>& tokens);
Expand Down
2 changes: 1 addition & 1 deletion src/sst/core/interfaces/stdMem.h
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ class StandardMem : public SubComponent
virtual std::string getString() = 0; /* String representation for debug/output/etc. */

/* This needs to be serializable so that we can use it in events in parallel simulations */
virtual void serialize_order(SST::Core::Serialization::serializer& UNUSED(ser)) override = 0;
virtual void serialize_order(SST::Core::Serialization::serializer& ser) override = 0;
// ImplementSerializable(SST::Interfaces::StandardMem::CustomData);
ImplementVirtualSerializable(CustomData);
};
Expand Down
2 changes: 1 addition & 1 deletion src/sst/core/profile/eventHandlerProfileTool.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class EventHandlerProfileToolCount : public EventHandlerProfileTool
uintptr_t registerLinkAttachTool(const AttachPointMetaData& mdata) override;

void beforeHandler(uintptr_t key, const SST::Event* event) override;
void eventSent(uintptr_t UNUSED(key), Event*& UNUSED(ev)) override;
void eventSent(uintptr_t key, Event*& ev) override;

void outputData(FILE* fp) override;

Expand Down
2 changes: 1 addition & 1 deletion src/sst/core/shared/sharedObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class SharedObjectChangeSet : public SST::Core::Serialization::serializable
@param manager The SharedObjectDataManager for the rank. This
is used to get the named shared data.
*/
virtual void applyChanges(SharedObjectDataManager* UNUSED(manager)) = 0;
virtual void applyChanges(SharedObjectDataManager* manager) = 0;

/**
Clears the data. Used after transfering data to other ranks to
Expand Down
4 changes: 2 additions & 2 deletions src/sst/core/sstinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,13 @@ class SSTInfoConfig : public ConfigShared
return 0;
}

int setXMLOutput(const std::string& UNUSED(arg))
int setXMLOutput(const std::string& arg)
{
m_XMLFilePath = arg;
return 0;
}

int setLibs(const std::string& UNUSED(arg))
int setLibs(const std::string& arg)
{
addFilter(arg);
return 0;
Expand Down
2 changes: 1 addition & 1 deletion src/sst/core/warnmacros.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#ifndef SST_CORE_WARNMACROS_H
#define SST_CORE_WARNMACROS_H

#define UNUSED(x) x __attribute__((unused))
#define UNUSED(x) x [[maybe_unused]]

#define DIAG_STR(s) #s
#define DIAG_JOINSTR(x, y) DIAG_STR(x##y)
Expand Down
Loading