aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/rdi-share/devsw.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1998a4e..e8ada44 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2002-01-20 Andrew Cagney <ac131313@redhat.com>
+
+ * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
+ (closeLogFile): Ditto.
+
2002-01-20 Michael Chastain <mec@shout.net>
* 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 6be57ae..6ad0e4d 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;