aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/editfns.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/editfns.c b/src/editfns.c
index ecb8e3f0838..75eb75a7293 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -81,10 +81,8 @@ static Lisp_Object styled_format (ptrdiff_t, Lisp_Object *, bool);
81 81
82enum { tzeqlen = sizeof "TZ=" - 1 }; 82enum { tzeqlen = sizeof "TZ=" - 1 };
83 83
84/* Time zones equivalent to current local time, to wall clock time, 84/* Time zones equivalent to current local time and to UTC, respectively. */
85 and to UTC, respectively. */
86static timezone_t local_tz; 85static timezone_t local_tz;
87static timezone_t wall_clock_tz;
88static timezone_t const utc_tz = 0; 86static timezone_t const utc_tz = 0;
89 87
90/* The cached value of Vsystem_name. This is used only to compare it 88/* The cached value of Vsystem_name. This is used only to compare it
@@ -269,7 +267,6 @@ init_editfns (bool dumping)
269 267
270 /* Set the time zone rule now, so that the call to putenv is done 268 /* Set the time zone rule now, so that the call to putenv is done
271 before multiple threads are active. */ 269 before multiple threads are active. */
272 wall_clock_tz = xtzalloc (0);
273 tzlookup (tz ? build_string (tz) : Qwall, true); 270 tzlookup (tz ? build_string (tz) : Qwall, true);
274 271
275 pw = getpwuid (getuid ()); 272 pw = getpwuid (getuid ());