From b18c8ea7c49f0e33f6fa5bd8ea467562cce260f1 Mon Sep 17 00:00:00 2001 From: Stefan Pöschel Date: Sat, 11 Feb 2017 00:41:50 +0100 Subject: Move common code parts --- src/odr-padenc.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/odr-padenc.cpp') diff --git a/src/odr-padenc.cpp b/src/odr-padenc.cpp index 26d3b08..ccc18f1 100644 --- a/src/odr-padenc.cpp +++ b/src/odr-padenc.cpp @@ -74,8 +74,6 @@ enum { CHARSET_UTF8 = 15 //!< ISO Latin Alphabet No 2 }; -int verbose = 0; - struct MSCDG { // MSC Data Group Header (extension field not supported) unsigned char extflag; // 1 bit @@ -412,16 +410,6 @@ struct DL_STATE { static bool dls_toggle = false; static DL_STATE dl_state_prev; -std::vector split_string(const std::string &s, const char delimiter) { - std::vector result; - std::stringstream ss(s); - std::string part; - - while (std::getline(ss, part, delimiter)) - result.push_back(part); - return result; -} - -- cgit v1.2.3