summaryrefslogtreecommitdiffstatshomepage
path: root/py/qstr.c
diff options
context:
space:
mode:
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) {