[Bug 228800] Redundant code in contrib/tzcode/stdtime/private.h
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jun 7 10:01:38 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228800
Bug ID: 228800
Summary: Redundant code in contrib/tzcode/stdtime/private.h
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: paperless at timmcnamara.co.nz
Lines 224..240 of contrib/tzcode/stdtime/private.h appear to contain the same
code twice:
/*
** Since the definition of TYPE_INTEGRAL contains floating point numbers,
** it cannot be used in preprocessor directives.
*/
#ifndef TYPE_INTEGRAL
#define TYPE_INTEGRAL(type) (((type) 0.5) != 0.5)
#endif /* !defined TYPE_INTEGRAL */
/*
** Since the definition of TYPE_INTEGRAL contains floating point numbers,
** it cannot be used in preprocessor directives.
*/
#ifndef TYPE_INTEGRAL
#define TYPE_INTEGRAL(type) (((type) 0.5) != 0.5)
#endif /* !defined TYPE_INTEGRAL */
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list