emacs-diffs
[Top][All Lists]
Advanced

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

master 0008003c3e: Two typos captured on OpenBSD/clang


From: Eli Zaretskii
Subject: master 0008003c3e: Two typos captured on OpenBSD/clang
Date: Tue, 21 Jun 2022 11:48:30 -0400 (EDT)

branch: master
commit 0008003c3e466269074001d637cda872d6fee9be
Author: Manuel Giraud <manuel@ledu-giraud.fr>
Commit: Eli Zaretskii <eliz@gnu.org>

    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.
---
 src/kqueue.c | 4 ++--
 src/sysdep.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/kqueue.c b/src/kqueue.c
index c3c4631784..99a9434cc2 100644
--- a/src/kqueue.c
+++ b/src/kqueue.c
@@ -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);
diff --git a/src/sysdep.c b/src/sysdep.c
index 95295e7e67..28ab8189c3 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -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;



reply via email to

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