FreeBSD Bugzilla – Attachment 194061 Details for
Bug 228800
Redundant code in contrib/tzcode/stdtime/private.h
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Removes redundant lines
228800.patch (text/plain), 1011 bytes, created by
Tim McNamara
on 2018-06-07 09:57:44 UTC
(
hide
)
Description:
Removes redundant lines
Filename:
MIME Type:
Creator:
Tim McNamara
Created:
2018-06-07 09:57:44 UTC
Size:
1011 bytes
patch
obsolete
>From 522de63ed19ccccdba31345eea4a02d6b3f6f64b Mon Sep 17 00:00:00 2001 >From: Tim McNamara <code@timmcnamara.co.nz> >Date: Thu, 7 Jun 2018 21:51:38 +1200 >Subject: [PATCH] Remove duplicated lines in contrib/tzcode/stdtime/private.h > >--- > contrib/tzcode/stdtime/private.h | 9 --------- > 1 file changed, 9 deletions(-) > >diff --git a/contrib/tzcode/stdtime/private.h b/contrib/tzcode/stdtime/private.h >index ab1397f31da21..8f8f725f81932 100644 >--- a/contrib/tzcode/stdtime/private.h >+++ b/contrib/tzcode/stdtime/private.h >@@ -230,15 +230,6 @@ const char * scheck(const char * string, const char * format); > #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 */ >- > #ifndef INT_STRLEN_MAXIMUM > /* > ** 302 / 1000 is log10(2.0) rounded up.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 228800
: 194061