Em sex, 21 de abr de 2023 9:10 AM, David Rowley <dgrowle...@gmail.com>
escreveu:

> On Fri, 21 Apr 2023 at 23:16, Ranier Vilela <ranier...@gmail.com> wrote:
> > Perhaps list_delete_nth_cell needs to check NIL too?
> > + if (list == NIL)
> > + return NIL;
>
> Which cell would you be deleting from an empty list?
>
None.
But list_delete_nth_cel can checks a length of NIL list.

Perhaps a assert?

regards,
Ranier Vilela

Reply via email to