tree-wide: sizeof() fixes
- TIME_T_MAX is always time_t so the check in time-util.c was redundant - quota-util.c was zero-ing a pointer - smbios11.c was calling sizeof(pointer)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
c36942916b
commit
33b0642e6a
@@ -1805,8 +1805,6 @@ int time_change_fd(void) {
|
||||
|
||||
_cleanup_close_ int fd = -EBADF;
|
||||
|
||||
assert_cc(sizeof(time_t) == sizeof(TIME_T_MAX));
|
||||
|
||||
/* Uses TFD_TIMER_CANCEL_ON_SET to get notifications whenever CLOCK_REALTIME makes a jump relative to
|
||||
* CLOCK_MONOTONIC. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user