emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: feature/tree-sitter 3069849bd4 4/4: * src/treesit.c (treesit_load_la


From: Yuan Fu
Subject: Re: feature/tree-sitter 3069849bd4 4/4: * src/treesit.c (treesit_load_language): Fix uninitialized uses.
Date: Tue, 22 Nov 2022 17:52:40 -0800

> 
>> Thanks for working on this. What does ??? mean? Why do we assume
>> handle is not NULL?
> 
> handle can only be set if tail is non-nil, but I do not think that is
> always the case.
> 
> The code below seemed to call dynlib_sym (handle, c_name) without any
> checks.  I was going to ask about it, but I forgot.

Cool! I made a tiny change to it.

Yuan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]