From 6d268f3c559ac6351666de4a362a0536ecc7c78a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 1 Oct 2014 13:04:52 -0500 Subject: Remove unused KMimeMagic::mergeBufConfig method in preparation for converting to libmagic This relates to Bug 656 --- tdeio/tdeio/kmimemagic.cpp | 17 ----------------- tdeio/tdeio/kmimemagic.h | 8 -------- 2 files changed, 25 deletions(-) diff --git a/tdeio/tdeio/kmimemagic.cpp b/tdeio/tdeio/kmimemagic.cpp index 597710e13..6aae4e39d 100644 --- a/tdeio/tdeio/kmimemagic.cpp +++ b/tdeio/tdeio/kmimemagic.cpp @@ -2175,23 +2175,6 @@ KMimeMagic::mergeConfig(const TQString & _configfile) return true; } -bool -KMimeMagic::mergeBufConfig(char * _configbuf) -{ - int result; - - if (conf) { - result = buff_apprentice(_configbuf); - if (result == -1) - return false; -#ifdef MIME_MAGIC_DEBUG_TABLE - test_table(); -#endif - return true; - } - return false; -} - void KMimeMagic::setFollowLinks( bool _enable ) { diff --git a/tdeio/tdeio/kmimemagic.h b/tdeio/tdeio/kmimemagic.h index f5430a219..d812650f2 100644 --- a/tdeio/tdeio/kmimemagic.h +++ b/tdeio/tdeio/kmimemagic.h @@ -126,14 +126,6 @@ public: */ bool mergeConfig( const TQString & configFile ); - /** - * Merge an existing parse table with the data from the - * given buffer. - * - * @return @p true on success. - */ - bool mergeBufConfig(char *); - /** * Enable/Disable follow-links. * -- cgit v1.2.1