mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
Fix 1 warning and 1 bug.
This commit is contained in:
@@ -471,7 +471,7 @@ static void mp_lexer_next_token_into(mp_lexer_t *lex, mp_token_t *tok, bool firs
|
|||||||
case 'r': c = 0x0d; break;
|
case 'r': c = 0x0d; break;
|
||||||
case 'x':
|
case 'x':
|
||||||
{
|
{
|
||||||
uint num;
|
uint num = 0;
|
||||||
if (!get_hex(lex, 2, &num)) {
|
if (!get_hex(lex, 2, &num)) {
|
||||||
// TODO error message
|
// TODO error message
|
||||||
assert(0);
|
assert(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user