Skip to content

Commit

Permalink
refactor: remove unused interned strings
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Sep 30, 2023
1 parent 9ab9e0c commit 1040bce
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions coverage/ctracer/tracer.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ pyint_as_int(PyObject * pyint, int *pint)

/* Interned strings to speed GetAttr etc. */

static PyObject *str_trace;
static PyObject *str_file_tracer;
static PyObject *str__coverage_enabled;
static PyObject *str__coverage_plugin;
static PyObject *str__coverage_plugin_name;
static PyObject *str_dynamic_source_filename;
Expand All @@ -44,9 +41,6 @@ CTracer_intern_strings(void)
goto error; \
}

INTERN_STRING(str_trace, "trace")
INTERN_STRING(str_file_tracer, "file_tracer")
INTERN_STRING(str__coverage_enabled, "_coverage_enabled")
INTERN_STRING(str__coverage_plugin, "_coverage_plugin")
INTERN_STRING(str__coverage_plugin_name, "_coverage_plugin_name")
INTERN_STRING(str_dynamic_source_filename, "dynamic_source_filename")
Expand Down

0 comments on commit 1040bce

Please sign in to comment.