]> git.eshelyaron.com Git - emacs.git/commit
Refactor decode_ticks_hz via switch
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 7 Jul 2024 14:05:52 +0000 (16:05 +0200)
committerEshel Yaron <me@eshelyaron.com>
Thu, 11 Jul 2024 14:39:43 +0000 (16:39 +0200)
commitb4d388d6c57427a03505ef4b539295543c724fdc
tree59d31b5b7cc8ee1bb7ef78eeb77a32e31ad092b8
parentc0e44c9f60f0c2da70bb7b625a07eb826299172b
Refactor decode_ticks_hz via switch

* src/timefns.c (decode_ticks_hz): Change ?: to ‘switch’,
for benefit of future changes.

(cherry picked from commit c45ae286b540f1fc4e424a04eb1d423037cab19c)
src/timefns.c