diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2020-02-16 19:40:58 +0100 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2020-02-16 21:19:31 +0100 |
commit | ae635d22567d144bfc35fb8c95f31bf84584d485 (patch) | |
tree | f2f9004447ab0d5b34bf745fa2740eba8225d26f /src/ccache.cpp | |
parent | d98d48cdc25b8b9c13c6bd310b58576517cdded1 (diff) | |
download | ccache-ae635d22567d144bfc35fb8c95f31bf84584d485.tar.gz ccache-ae635d22567d144bfc35fb8c95f31bf84584d485.tar.bz2 ccache-ae635d22567d144bfc35fb8c95f31bf84584d485.zip |
Remove now redundant resetting of config
Since the configuation no longer is global there is no need to reset the
unmodified Config object passed by cct_test_begin to cc_reset.
Diffstat (limited to 'src/ccache.cpp')
-rw-r--r-- | src/ccache.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ccache.cpp b/src/ccache.cpp index 9d5dedd3..da294b3b 100644 --- a/src/ccache.cpp +++ b/src/ccache.cpp @@ -3549,10 +3549,8 @@ free_and_nullify(T*& ptr) // Reset the global state. Used by the test suite. void -cc_reset(Config& config) +cc_reset() { - config.clear_and_reset(); - free_and_nullify(current_working_dir); free_and_nullify(included_pch_file); free_and_nullify(cached_result_name); |