]> git.ipfire.org Git - thirdparty/util-linux.git/commit
hwclock: remove magic constants from interpret_date_string()
authorSami Kerola <kerolasa@iki.fi>
Sun, 17 Jul 2016 15:35:40 +0000 (16:35 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sat, 4 Feb 2017 23:39:37 +0000 (23:39 +0000)
commit6b3cb186690438caa84bea336f9b380d8159d940
treea52aa45297bdd7840c5f568e1e0b6da55560a04c
parent0f32118e70c097f54fe706cb34adeaf9010a6a7a
hwclock: remove magic constants from interpret_date_string()

The constants function returned were not used.  In same go clean up
execution flow a little bit.

Reviewed-by: J William Piggott <elseifthen@gmx.com>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
sys-utils/hwclock.c