[PATCH setup 03/11] Remove cygpackage::destroy() because it does nothing
Jon Turney
jon.turney@dronecode.org.uk
Fri Apr 28 12:13:00 GMT 2017
---
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
More information about the Cygwin-apps
mailing list