diff options
author | Damien George <damien.p.george@gmail.com> | 2017-11-29 16:58:27 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-11-29 17:01:39 +1100 |
commit | 8e323b8fa84277531685985327fb682761abd53d (patch) | |
tree | 07da54237b834513db77cd586f6c9a71e9abc798 /py/runtime_utils.c | |
parent | 3990a52c0f071a7a48cc276f30785930f31eed39 (diff) |
py/qstr: Rewrite find_qstr to make manifest that it returns a valid ptr.
So long as the input qstr identifier is valid (below the maximum number of
qstrs) the function will always return a valid pointer. This patch
eliminates the "return 0" dead-code.
Diffstat (limited to 'py/runtime_utils.c')
0 files changed, 0 insertions, 0 deletions