summaryrefslogtreecommitdiff
path: root/core/dictionary.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-08-27 22:46:40 +0200
committerGitHub <noreply@github.com>2017-08-27 22:46:40 +0200
commit9e0fbb49c12a4bb12c275194b0599fdfa0b1aabf (patch)
tree8804d0dd24cc126087462edfbbbf73ed61b56b0e /core/dictionary.cpp
parent37da8155a4500a9386027b4d791a86186bc7ab4a (diff)
parent7ad14e7a3e6f87ddc450f7e34621eb5200808451 (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.cpp12
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 {