unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* make-docfile warnings
       [not found] <87sfu4cnlc.fsf.ref@yahoo.com>
@ 2022-01-04  1:10 ` Po Lu
  2022-01-04  3:00   ` Stefan Kangas
  0 siblings, 1 reply; 3+ messages in thread
From: Po Lu @ 2022-01-04  1:10 UTC (permalink / raw)
  To: emacs-devel

I get these trying to build make-docfile:

make-docfile.c: In function ‘scan_lisp_file’:
make-docfile.c:1333:7: warning: unused variable ‘flen’ [-Wunused-variable]
 1333 |   int flen = strlen (filename);
      |       ^~~~
make-docfile.c:1332:7: warning: unused variable ‘i’ [-Wunused-variable]
 1332 |   int i;

Someone should fix that, thanks.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: make-docfile warnings
  2022-01-04  1:10 ` make-docfile warnings Po Lu
@ 2022-01-04  3:00   ` Stefan Kangas
  2022-01-04  3:34     ` Po Lu
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Kangas @ 2022-01-04  3:00 UTC (permalink / raw)
  To: Po Lu, emacs-devel

Po Lu <luangruo@yahoo.com> writes:

> I get these trying to build make-docfile:
>
> make-docfile.c: In function ‘scan_lisp_file’:
> make-docfile.c:1333:7: warning: unused variable ‘flen’ [-Wunused-variable]
>  1333 |   int flen = strlen (filename);
>       |       ^~~~
> make-docfile.c:1332:7: warning: unused variable ‘i’ [-Wunused-variable]
>  1332 |   int i;

I removed those unused variables in commit 24a52df738.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: make-docfile warnings
  2022-01-04  3:00   ` Stefan Kangas
@ 2022-01-04  3:34     ` Po Lu
  0 siblings, 0 replies; 3+ messages in thread
From: Po Lu @ 2022-01-04  3:34 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: emacs-devel

Stefan Kangas <stefankangas@gmail.com> writes:

> Po Lu <luangruo@yahoo.com> writes:
>
>> I get these trying to build make-docfile:
>>
>> make-docfile.c: In function ‘scan_lisp_file’:
>> make-docfile.c:1333:7: warning: unused variable ‘flen’ [-Wunused-variable]
>>  1333 |   int flen = strlen (filename);
>>       |       ^~~~
>> make-docfile.c:1332:7: warning: unused variable ‘i’ [-Wunused-variable]
>>  1332 |   int i;

> I removed those unused variables in commit 24a52df738.

Thanks.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-04  3:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87sfu4cnlc.fsf.ref@yahoo.com>
2022-01-04  1:10 ` make-docfile warnings Po Lu
2022-01-04  3:00   ` Stefan Kangas
2022-01-04  3:34     ` Po Lu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).