diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-01-20 22:44:44 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-01-20 22:44:44 +0000 |
commit | 15f698d2305fd8ddc2d9ab4dda386473e77959f2 (patch) | |
tree | 265bae6c48df8755093f18b6c62101dc52a171a1 | |
parent | f86ddd7c6f0f80788a0e6424b44c94cb1e453d50 (diff) | |
download | gdb-15f698d2305fd8ddc2d9ab4dda386473e77959f2.zip gdb-15f698d2305fd8ddc2d9ab4dda386473e77959f2.tar.gz gdb-15f698d2305fd8ddc2d9ab4dda386473e77959f2.tar.bz2 |
* rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
(closeLogFile): Ditto.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/rdi-share/devsw.c | 2 |
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; |