]> git.eshelyaron.com Git - emacs.git/commitdiff
Minor clean up of previous Fsignal_names patch
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 26 Jun 2022 20:50:50 +0000 (22:50 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 26 Jun 2022 20:50:50 +0000 (22:50 +0200)
* src/process.c (Fsignal_names): Clean up code slightly.

src/process.c

index 5cb5d952229683dd99cf90b24e2cb8996882aa76..531ad677fe1f326e4113b0ef800976e5cfdabb89 100644 (file)
@@ -8326,9 +8326,7 @@ DEFUN ("signal-names", Fsignal_names, Ssignal_names, 0, 0, 0,
   for (int i = 0; i < 255; ++i)
     {
       if (!sig2str (i, name))
-       {
-         names = Fcons (build_string (name), names);
-       }
+       names = Fcons (build_string (name), names);
     }
   return names;
 }