From 15f698d2305fd8ddc2d9ab4dda386473e77959f2 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 20 Jan 2002 22:44:44 +0000 Subject: [PATCH] * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''. (closeLogFile): Ditto. --- gdb/ChangeLog | 5 +++++ gdb/rdi-share/devsw.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1998a4e5d5e..e8ada44e426 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-01-20 Andrew Cagney + + * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''. + (closeLogFile): Ditto. + 2002-01-20 Michael Chastain * top.c (print_gdb_version): Bump copyright year to 2002. diff --git a/gdb/rdi-share/devsw.c b/gdb/rdi-share/devsw.c index 6be57aea934..6ad0e4de91d 100644 --- a/gdb/rdi-share/devsw.c +++ b/gdb/rdi-share/devsw.c @@ -37,7 +37,6 @@ static int angelDebugLogEnable = 0; static void openLogFile () { time_t t; - struct tm lt; if (angelDebugFilename == NULL || *angelDebugFilename =='\0') return; @@ -67,7 +66,6 @@ static void openLogFile () static void closeLogFile (void) { time_t t; - struct tm lt; if (!angelDebugLogFile) return; -- 2.30.2