summaryrefslogtreecommitdiff
path: root/src/preproc/grn/hdb.cpp
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-06-03 14:26:08 +0000
committerwlemb <wlemb>2003-06-03 14:26:08 +0000
commit73c97d97e175200785cf459965de2278220ac9c2 (patch)
tree79eac394be529b29b1e3d07c277f65d2c8c24b27 /src/preproc/grn/hdb.cpp
parentd5a70676727849c7f8af5b4b8ad6c88e580c8a97 (diff)
downloadgroff-73c97d97e175200785cf459965de2278220ac9c2.tar.gz
* src/preproc/grn/hdb.cpp (DBRead): Don't close file handle; this
is done by the calling function.
Diffstat (limited to 'src/preproc/grn/hdb.cpp')
-rw-r--r--src/preproc/grn/hdb.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/preproc/grn/hdb.cpp b/src/preproc/grn/hdb.cpp
index c9fbb7dc..d0bf31ef 100644
--- a/src/preproc/grn/hdb.cpp
+++ b/src/preproc/grn/hdb.cpp
@@ -115,7 +115,6 @@ DBRead(register FILE *file)
type = DBGetType(string); /* interpret element type */
if (type < 0) { /* no more data */
done = TRUE;
- (void) fclose(file);
} else {
#ifdef UW_FASTSCAN
(void) xscanf(file, &x, &y); /* always one point */