Skip to content

Commit

Permalink
Remove some unneeded logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Maschell committed Jan 10, 2021
1 parent f0b78ca commit 75735e4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions source/plugin/PluginContainerPersistence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ bool PluginContainerPersistence::savePlugin(plugin_information_t *pluginInformat
// Copy data to global struct.
plugin_information_single_t *plugin_data = &(pluginInformation->plugin_data[plugin_count]);

DEBUG_FUNCTION_LINE("%08X", plugin_data);
// Make sure everything is reset.
//plugin_data = {};
memset((void *) plugin_data, 0, sizeof(plugin_information_single_t));

const auto &pluginMetaInfo = plugin.getMetaInformation();
Expand Down
3 changes: 0 additions & 3 deletions source/plugin/PluginMetaInformationFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ std::optional<PluginMetaInformation> PluginMetaInformationFactory::loadPlugin(co

uint32_t sec_num = reader.sections.size();

DEBUG_FUNCTION_LINE("%d number of sections", sec_num);

for (uint32_t i = 0; i < sec_num; ++i) {
section *psec = reader.sections[i];

Expand Down Expand Up @@ -101,7 +99,6 @@ std::optional<PluginMetaInformation> PluginMetaInformationFactory::loadPlugin(co
std::string value(curEntry + firstFound + 1);

if (key.compare("name") == 0) {
DEBUG_FUNCTION_LINE("Name = %s", value.c_str());
pluginInfo.setName(value);
} else if (key.compare("author") == 0) {
pluginInfo.setAuthor(value);
Expand Down

0 comments on commit 75735e4

Please sign in to comment.