diff options
-rw-r--r-- | 003trace.cc | 6 | ||||
-rw-r--r-- | 003trace.test.cc | 2 | ||||
-rw-r--r-- | 010vm.cc | 2 |
3 files changed, 0 insertions, 10 deletions
diff --git a/003trace.cc b/003trace.cc index bd6892a2..7f543496 100644 --- a/003trace.cc +++ b/003trace.cc @@ -149,8 +149,6 @@ struct trace_stream { } }; - - trace_stream* Trace_stream = NULL; int Trace_errors = 0; // used only when Trace_stream is NULL @@ -259,8 +257,6 @@ bool line_exists_anywhere(const string& label, const string& contents) { return false; } - - int trace_count(string label) { return trace_count(label, ""); } @@ -320,8 +316,6 @@ bool trace_doesnt_contain(string expected) { #define CHECK_TRACE_DOESNT_CONTAIN(...) CHECK(trace_doesnt_contain(__VA_ARGS__)) - - vector<string> split(string s, string delim) { vector<string> result; size_t begin=0, end=s.find(delim); diff --git a/003trace.test.cc b/003trace.test.cc index 31c35e2d..e90fd69c 100644 --- a/003trace.test.cc +++ b/003trace.test.cc @@ -71,8 +71,6 @@ void test_trace_count_ignores_trailing_whitespace() { // pending: raise prints to stderr if Trace_stream is NULL even if Hide_errors is set. // pending: raise << ... die() doesn't die if Hide_errors is set. - - // can't check trace because trace methods call 'split' void test_split_returns_at_least_one_elem() { diff --git a/010vm.cc b/010vm.cc index e1d7497e..d3c5d189 100644 --- a/010vm.cc +++ b/010vm.cc @@ -247,8 +247,6 @@ void restore_snapshots() { // End restore_snapshots } - - //:: Helpers :(code) |