From 606e22abcf8b9f3c3d63ccc8ccf8ae4020c6ffd3 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Thu, 23 Apr 2015 09:10:35 +0200 Subject: Enable and take care of some warnings --- src/MuxElements.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/MuxElements.cpp') diff --git a/src/MuxElements.cpp b/src/MuxElements.cpp index e8871d1..4b40b10 100644 --- a/src/MuxElements.cpp +++ b/src/MuxElements.cpp @@ -224,9 +224,6 @@ bool DabComponent::isPacketComponent(vector& subchannels) void DabComponent::set_parameter(const string& parameter, const string& value) { - stringstream ss(value); - ss.exceptions ( stringstream::failbit | stringstream::badbit ); - if (parameter == "label") { vector fields; boost::split(fields, value, boost::is_any_of(",")); @@ -322,9 +319,6 @@ unsigned char DabService::nbComponent(vector& components) void DabService::set_parameter(const string& parameter, const string& value) { - stringstream ss(value); - ss.exceptions ( stringstream::failbit | stringstream::badbit ); - if (parameter == "label") { vector fields; boost::split(fields, value, boost::is_any_of(",")); @@ -388,9 +382,6 @@ const string DabService::get_parameter(const string& parameter) const void dabEnsemble::set_parameter(const string& parameter, const string& value) { - stringstream ss(value); - ss.exceptions ( stringstream::failbit | stringstream::badbit ); - if (parameter == "localtimeoffset") { if (value == "auto") { lto_auto = true; -- cgit v1.2.3