Two typos captured on OpenBSD/clang

; * src/kqueue.c (kqueue_compare_dir_list): Indent typo.
; * src/sysdep.c (system_process_attributes): Unused variable on OpenBSD.
This commit is contained in:
Manuel Giraud 2022-06-21 16:52:52 +02:00 committed by Eli Zaretskii
parent a4dcc8b9a9
commit 0008003c3e
2 changed files with 3 additions and 3 deletions

View file

@ -159,8 +159,8 @@ kqueue_compare_dir_list (Lisp_Object watch_object)
(watch_object, Fcons (Qwrite, Qnil), XCAR (XCDR (old_entry)), Qnil);
/* Status change time has been changed, the file attributes
have changed. */
if (NILP (Fequal (Fnth (make_fixnum (3), old_entry),
Fnth (make_fixnum (3), new_entry))))
if (NILP (Fequal (Fnth (make_fixnum (3), old_entry),
Fnth (make_fixnum (3), new_entry))))
kqueue_generate_event
(watch_object, Fcons (Qattrib, Qnil),
XCAR (XCDR (old_entry)), Qnil);

View file

@ -3869,7 +3869,7 @@ system_process_attributes (Lisp_Object pid)
Lisp_Object
system_process_attributes (Lisp_Object pid)
{
int proc_id, nentries, fscale, i;
int proc_id, fscale, i;
int pagesize = getpagesize ();
int mib[6];
size_t len;