From 2cb752664bbde379c20931fa330563d775b60033 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 19 Jun 2014 14:19:24 -0700 Subject: [PATCH] Fix arm64 localtime.c build. I'm sick of having so many different compilers. Change-Id: I9088c38df2504e2b827d0ce5ba0fa551ae48f8f9 --- libc/tzcode/localtime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libc/tzcode/localtime.c b/libc/tzcode/localtime.c index 2581c125b..f0fd9e36b 100644 --- a/libc/tzcode/localtime.c +++ b/libc/tzcode/localtime.c @@ -361,7 +361,7 @@ tzload(register const char* name, register struct state* const sp, ** to hold the longest file name string that the implementation ** guarantees can be opened." */ - char fullname[FILENAME_MAX + 1]; + //char fullname[FILENAME_MAX + 1]; /* The main part of the storage for this function. */ struct { @@ -369,7 +369,7 @@ tzload(register const char* name, register struct state* const sp, struct state st; } u; }; - register char *fullname; + //register char *fullname; register u_t *up; register union local_storage *lsp; #ifdef ALL_STATE @@ -380,7 +380,7 @@ tzload(register const char* name, register struct state* const sp, union local_storage ls; lsp = &ls; #endif /* !defined ALL_STATE */ - fullname = lsp->fullname; + //fullname = lsp->fullname; up = &lsp->u.u; sp->goback = sp->goahead = FALSE;