[gnote] Fix a bunch of warnings in tests
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Fix a bunch of warnings in tests
- Date: Sun, 28 Jun 2020 10:54:46 +0000 (UTC)
commit be7f945be5e38b42a26b5b54dce8be0788abda7e
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sun Jun 28 13:53:50 2020 +0300
Fix a bunch of warnings in tests
src/test/testnotemanager.cpp | 2 +-
src/test/testsyncmanager.cpp | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/test/testnotemanager.cpp b/src/test/testnotemanager.cpp
index 8c88c59c..ff580b2e 100644
--- a/src/test/testnotemanager.cpp
+++ b/src/test/testnotemanager.cpp
@@ -60,7 +60,7 @@ gnote::NoteBase::Ptr NoteManager::note_create_new(const Glib::ustring & title, c
return std::make_shared<Note>(std::move(note_data), file_name, *this);
}
-gnote::NoteBase::Ptr NoteManager::note_load(const Glib::ustring & file_name)
+gnote::NoteBase::Ptr NoteManager::note_load(const Glib::ustring & /*file_name*/)
{
return gnote::NoteBase::Ptr();
}
diff --git a/src/test/testsyncmanager.cpp b/src/test/testsyncmanager.cpp
index e4b65718..bc047786 100644
--- a/src/test/testsyncmanager.cpp
+++ b/src/test/testsyncmanager.cpp
@@ -1,7 +1,7 @@
/*
* gnote
*
- * Copyright (C) 2017-2019 Aurimas Cernius
+ * Copyright (C) 2017-2020 Aurimas Cernius
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -48,16 +48,16 @@ void SyncManager::perform_synchronization(const gnote::sync::SyncUI::Ptr & sync_
synchronization_thread();
}
-void SyncManager::resolve_conflict(gnote::sync::SyncTitleConflictResolution resolution)
+void SyncManager::resolve_conflict(gnote::sync::SyncTitleConflictResolution /*resolution*/)
{
}
-bool SyncManager::synchronized_note_xml_matches(const Glib::ustring & noteXml1, const Glib::ustring &
noteXml2)
+bool SyncManager::synchronized_note_xml_matches(const Glib::ustring & /*noteXml1*/, const Glib::ustring &
/*noteXml2*/)
{
return false;
}
-gnote::sync::SyncServiceAddin *SyncManager::get_sync_service_addin(const Glib::ustring & sync_service_id)
+gnote::sync::SyncServiceAddin *SyncManager::get_sync_service_addin(const Glib::ustring & /*sync_service_id*/)
{
return new SyncAddin(m_sync_path);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]