]> sourceware.org Git - systemtap.git/commitdiff
Removed unused code in tapset-method.cxx
authorLukas Berk <lberk@redhat.com>
Fri, 1 Nov 2013 19:27:46 +0000 (15:27 -0400)
committerLukas Berk <lberk@redhat.com>
Fri, 1 Nov 2013 19:27:46 +0000 (15:27 -0400)
*tapset-method.cxx - remove the unused bmoption_escape function

tapset-method.cxx

index d2f739fc464b0b7bd7467b72188fe21a6da2e9da..fb609f33445666a807bf68a4dd2bc808276743e1 100644 (file)
@@ -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
This page took 0.024529 seconds and 5 git commands to generate.