[goffice] Cleanup.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Cleanup.
- Date: Wed, 2 Apr 2014 19:23:35 +0000 (UTC)
commit d695cf578292b0e89f14b64904b07d88ca7b730e
Author: Morten Welinder <terra gnome org>
Date: Wed Apr 2 15:23:20 2014 -0400
Cleanup.
ChangeLog | 1 +
goffice/utils/go-format.c | 11 -----------
2 files changed, 1 insertions(+), 11 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 6ccab1b..2fc6941 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
* goffice/utils/go-format.c (go_format_output_conditional_to_odf):
Use go_ascii_dtoa.
+ (_go_number_format_init): Remove unused beyond_precision.
* goffice/math/go-math.c (go_ascii_dtoa): New function.
diff --git a/goffice/utils/go-format.c b/goffice/utils/go-format.c
index 4947f39..c176253 100644
--- a/goffice/utils/go-format.c
+++ b/goffice/utils/go-format.c
@@ -684,12 +684,6 @@ static GOFormat *default_date_time_fmt;
static GOFormat *default_general_fmt;
static GOFormat *default_empty_fmt;
-
-static double beyond_precision;
-#ifdef GOFFICE_WITH_LONG_DOUBLE
-static long double beyond_precisionl;
-#endif
-
/***************************************************************************/
/* WARNING : Global */
@@ -5275,11 +5269,6 @@ _go_number_format_init (void)
{
style_format_hash = g_hash_table_new_full (g_str_hash, g_str_equal,
NULL, (GDestroyNotify) go_format_unref);
-
- beyond_precision = go_pow10 (DBL_DIG) + 1;
-#ifdef GOFFICE_WITH_LONG_DOUBLE
- beyond_precisionl = go_pow10l (LDBL_DIG) + 1;
-#endif
}
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]