summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoolStar <coolstarorganization@gmail.com>2018-05-10 15:02:12 -0700
committerSam Bingner <sam@bingner.com>2019-12-26 15:12:15 -1000
commit43d6bcf02105f9b46e2ba5f7fcae2bdc8f495692 (patch)
treee13611bb294535642f74d166f123db7e18cc39c7
parentf26ac05a9a0c1ba9628a7c58b5420cffb369d389 (diff)
Fix merge issue
-rw-r--r--apt-pkg/tagfile.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/apt-pkg/tagfile.cc b/apt-pkg/tagfile.cc
index 427e459bd..1e7f2867c 100644
--- a/apt-pkg/tagfile.cc
+++ b/apt-pkg/tagfile.cc
@@ -625,14 +625,6 @@ void pkgTagSection::Trim()
for (; Stop > Section + 2 && (Stop[-2] == '\n' || Stop[-2] == '\r'); Stop--);
}
/*}}}*/
-// TagSection::Trim - Trim off any trailing garbage /*{{{*/
-// ---------------------------------------------------------------------
-/* There should be exactly 1 newline at the end of the buffer, no more. */
-void pkgTagSection::Trim()
-{
- for (; Stop > Section + 2 && (Stop[-2] == '\n' || Stop[-2] == '\r'); Stop--);
-}
-
// TagSection::Exists - return True if a tag exists /*{{{*/
bool pkgTagSection::Exists(StringView Tag) const
{