From 44d3b76a55045b414c511964a611cca4f4ef1e7b Mon Sep 17 00:00:00 2001 From: Lukas Berk Date: Fri, 1 Nov 2013 15:27:46 -0400 Subject: [PATCH] Removed unused code in tapset-method.cxx *tapset-method.cxx - remove the unused bmoption_escape function --- tapset-method.cxx | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tapset-method.cxx b/tapset-method.cxx index d2f739fc4..fb609f334 100644 --- a/tapset-method.cxx +++ b/tapset-method.cxx @@ -40,17 +40,6 @@ static const string TOK_BEGIN ("begin"); static const string TOK_END ("end"); static const string TOK_ERROR ("error"); -/* Escape all double quotes with a backslash in the string s: */ -string bmoption_escape (string s) { - size_t n = 0; - for (;;) { - n = s.find('"', n); - if (n == string::npos) break; - s.insert(n, 1, '\\'); n++; - } - return s; -} - // -------------------------------------------------------------------------- struct java_builder: public derived_probe_builder -- 2.43.5