diff options
author | Damien George <damien.p.george@gmail.com> | 2017-10-24 22:39:36 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-10-24 22:39:36 +1100 |
commit | f4059dcc0c5251256a53fcb49f56fdda6e879341 (patch) | |
tree | a808f552e7ce64740bcb3ba4d584b0ef8d51abd4 /ports/unix/modjni.c | |
parent | cfff12612f92d6ae460e9748394a0cedf3b3d31d (diff) |
all: Use NULL instead of "" when calling mp_raise exception helpers.
This is the established way of doing it and reduces code size by a little
bit.
Diffstat (limited to 'ports/unix/modjni.c')
-rw-r--r-- | ports/unix/modjni.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/unix/modjni.c b/ports/unix/modjni.c index 15b6d9cd7..f29c095cf 100644 --- a/ports/unix/modjni.c +++ b/ports/unix/modjni.c @@ -266,7 +266,7 @@ STATIC mp_obj_t jobject_subscr(mp_obj_t self_in, mp_obj_t index, mp_obj_t value) return mp_const_none; } } - mp_raise_NotImplementedError(""); + mp_raise_NotImplementedError(NULL); } if (!JJ(IsInstanceOf, self->obj, List_class)) { |