Commit 8a7604da authored by Damien George's avatar Damien George
Browse files

Merge pull request #88 from dhylands/mp-qstr-init

Make qstr_init reinitialize last_pool.
parents 12e26564 d986b582
......@@ -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) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment