This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
[PATCH setup 03/11] Remove cygpackage::destroy() because it does nothing
- From: Jon Turney <jon dot turney at dronecode dot org dot uk>
- To: cygwin-apps at cygwin dot com
- Cc: Jon Turney <jon dot turney at dronecode dot org dot uk>
- Date: Fri, 28 Apr 2017 13:11:57 +0100
- Subject: [PATCH setup 03/11] Remove cygpackage::destroy() because it does nothing
- Authentication-results: sourceware.org; auth=none
- References: <20170428121205.12240-1-jon.turney@dronecode.org.uk>
---
cygpackage.cc | 8 --------
cygpackage.h | 1 -
2 files changed, 9 deletions(-)
diff --git a/cygpackage.cc b/cygpackage.cc
index 14c0c98..56c1da8 100644
--- a/cygpackage.cc
+++ b/cygpackage.cc
@@ -101,14 +101,6 @@ cygpackage::setCanonicalVersion (const std::string& version)
cygpackage::~cygpackage ()
{
- destroy ();
-}
-
-/* helper functions */
-
-void
-cygpackage::destroy ()
-{
}
const std::string
diff --git a/cygpackage.h b/cygpackage.h
index 4c57b95..4022472 100644
--- a/cygpackage.h
+++ b/cygpackage.h
@@ -72,7 +72,6 @@ public:
private:
cygpackage ();
- void destroy ();
std::string name;
std::string vendor;
std::string packagev;
--
2.12.2