A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd

mktime(): Remove redundant assignment of 'result'

Checked with upstream lynx source code and the
second calculation line is the upstream one, too.
(In fact I diffed the whole function to check for changes)

cppcheck reported:
[rockbox/firmware/libc/mktime.c:43] -> [rockbox/firmware/libc/mktime.c:44]: (performance) Variable 'result' is reassigned a value before the old one has been used.

Change-Id: Ia04c5f55da7d86cd74cff4fce675a9c85ddce3e2

-1
-1
firmware/libc/mktime.c
··· 40 40 year -= 1; 41 41 month += 12; 42 42 } 43 - result = (year - 1970) * 365 + (year - 1969) / 4 + m_to_d[month]; 44 43 result = (year - 1970) * 365 + m_to_d[month]; 45 44 if (month <= 1) 46 45 year -= 1;