aboutsummaryrefslogtreecommitdiff
path: root/src/gdbmdelete.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-12-25 09:31:59 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2013-12-25 09:31:59 +0000
commit46e182da4c8a338db22199e003fc2149ee3b1b81 (patch)
treea7b382936a61ced77d284a6092d450c73e124e73 /src/gdbmdelete.c
parent05fa76dfce5311161abbc64c12acbaf56f298e97 (diff)
downloadgdbm-46e182da4c8a338db22199e003fc2149ee3b1b81.tar.gz
gdbm-46e182da4c8a338db22199e003fc2149ee3b1b81.tar.bz2
Minor changes.
* src/gdbm_load.c: New options: --mmap, --cache-size and --block-size. * doc/gdbm.texinfo: Document new gdbm_load options. * doc/gdbm_load.1: Likewise. * src/gdbmdelete.c: Stylistic changes. * src/gdbmstore.c: Likewise.
Diffstat (limited to 'src/gdbmdelete.c')
-rw-r--r--src/gdbmdelete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gdbmdelete.c b/src/gdbmdelete.c
index 331a286..3f888be 100644
--- a/src/gdbmdelete.c
+++ b/src/gdbmdelete.c
@@ -61,7 +61,7 @@ gdbm_delete (GDBM_FILE dbf, datum key)
/* Delete the element. */
dbf->bucket->h_table[elem_loc].hash_value = -1;
- dbf->bucket->count -= 1;
+ dbf->bucket->count--;
/* Move other elements to guarantee that they can be found. */
last_loc = elem_loc;

Return to:

Send suggestions and report system problems to the System administrator.