diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-08-27 22:46:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-27 22:46:40 +0200 |
commit | 9e0fbb49c12a4bb12c275194b0599fdfa0b1aabf (patch) | |
tree | 8804d0dd24cc126087462edfbbbf73ed61b56b0e /core/dictionary.cpp | |
parent | 37da8155a4500a9386027b4d791a86186bc7ab4a (diff) | |
parent | 7ad14e7a3e6f87ddc450f7e34621eb5200808451 (diff) |
Merge pull request #10699 from akien-mga/burn-burn-burn
Dead code tells no tales
Diffstat (limited to 'core/dictionary.cpp')
-rw-r--r-- | core/dictionary.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/core/dictionary.cpp b/core/dictionary.cpp index 9559c45c49..bb2e892951 100644 --- a/core/dictionary.cpp +++ b/core/dictionary.cpp @@ -200,17 +200,6 @@ uint32_t Dictionary::hash() const { Array Dictionary::keys() const { -#if 0 - Array karr; - karr.resize(size()); - const Variant *K = NULL; - int idx = 0; - while ((K = next(K))) { - karr[idx++] = (*K); - } - return karr; -#else - Array varr; varr.resize(size()); if (_p->variant_map.empty()) @@ -228,7 +217,6 @@ Array Dictionary::keys() const { } return varr; -#endif } Array Dictionary::values() const { |