From 75735e4e4d8640c09b1a4c4b7fbdd32f1e4a75ae Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 10 Jan 2021 18:20:54 +0100 Subject: [PATCH] Remove some unneeded logging --- source/plugin/PluginContainerPersistence.cpp | 2 -- source/plugin/PluginMetaInformationFactory.cpp | 3 --- 2 files changed, 5 deletions(-) diff --git a/source/plugin/PluginContainerPersistence.cpp b/source/plugin/PluginContainerPersistence.cpp index 7f0c78b..612079b 100644 --- a/source/plugin/PluginContainerPersistence.cpp +++ b/source/plugin/PluginContainerPersistence.cpp @@ -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(); diff --git a/source/plugin/PluginMetaInformationFactory.cpp b/source/plugin/PluginMetaInformationFactory.cpp index 704fb6c..360455a 100644 --- a/source/plugin/PluginMetaInformationFactory.cpp +++ b/source/plugin/PluginMetaInformationFactory.cpp @@ -66,8 +66,6 @@ std::optional 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]; @@ -101,7 +99,6 @@ std::optional 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);