summaryrefslogtreecommitdiffstatshomepage
path: root/py/qstr.c
diff options
context:
space:
mode:
authorJohn R. Lenton <jlenton@gmail.com>2014-01-06 00:08:21 +0000
committerJohn R. Lenton <jlenton@gmail.com>2014-01-06 00:08:21 +0000
commita10dba75090b38919790d1c3ad8bb9d2c126b7f4 (patch)
tree6750678d47844bb3918b4012a8af41cd989eeda5 /py/qstr.c
parentba3f87c94776538fece5e87ff1d7de547930397a (diff)
parent8137b004b004d8e3a594eab90afccb72b779273a (diff)
downloadmicropython-a10dba75090b38919790d1c3ad8bb9d2c126b7f4.tar.gz
micropython-a10dba75090b38919790d1c3ad8bb9d2c126b7f4.zip
Merge remote-tracking branch 'upstream/master' into list_reverse
Diffstat (limited to 'py/qstr.c')
-rw-r--r--py/qstr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/qstr.c b/py/qstr.c
index 0ed7aa9a24..93ae3ab665 100644
--- a/py/qstr.c
+++ b/py/qstr.c
@@ -36,10 +36,10 @@ const static qstr_pool_t const_pool = {
},
};
-static qstr_pool_t *last_pool = (qstr_pool_t*)&const_pool; // we won't modify the const_pool since it has no allocated room left
+static qstr_pool_t *last_pool;
void qstr_init(void) {
- // nothing to do!
+ last_pool = (qstr_pool_t*)&const_pool; // we won't modify the const_pool since it has no allocated room left
}
static qstr qstr_add(const char *str) {