objexcept: Fix a case of initialized object field.

pull/291/head
Paul Sokolovsky 2014-02-14 21:01:12 +02:00
rodzic c203324e6c
commit 60a0d3f1db
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -53,6 +53,7 @@ STATIC mp_obj_t exception_call(mp_obj_t self_in, uint n_args, uint n_kw, const m
mp_obj_exception_t *o = m_new_obj_var(mp_obj_exception_t, mp_obj_t, n_args);
o->base.type = &exception_type;
o->traceback = MP_OBJ_NULL;
o->id = base->id;
o->msg = NULL;
o->args.len = n_args;