> On Sep 8, 2024, at 12:02 AM, Eli Zaretskii <e...@gnu.org> wrote:
>
>> From: Yuan Fu <caso...@gmail.com>
>> Date: Sat, 7 Sep 2024 22:57:29 -0700
>> Cc: m...@ssbb.me,
>> wkirschb...@gmail.com,
>> 72...@debbugs.gnu.org
>>
>>
>>
>>> On Sep 7, 2024, at 10:54 PM, Eli Zaretskii <e...@gnu.org> wrote:
>>>
>>>> From: Yuan Fu <caso...@gmail.com>
>>>> Date: Sat, 7 Sep 2024 22:44:53 -0700
>>>> Cc: Wilhelm Kirschbaum <wkirschb...@gmail.com>,
>>>> Eli Zaretskii <e...@gnu.org>,
>>>> 72...@debbugs.gnu.org
>>>>
>>>> Meanwhile, I want to push the fix for the other bug I discovered to
>>>> emacs-30. Eli, I wrote a debugging function that prints parser states,
>>>> naturally this function isn’t called anywhere so there’ll be a compiler
>>>> warning, what should I do in this case?
>>>
>>> Why would there be a compiler warning? What kind of warning?
>>
>> A function-not-used warning. Maybe it’s an lldb thing?
>
> If the function is not static, there should be no such warning.
Ah, you’re right, I marked it static. Thanks!
Yuan