diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2021-01-09 11:58:49 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2021-01-09 12:37:40 +0200 |
commit | 0c38baeca4d8caeb2b16faaf42acd61f4e72bde7 (patch) | |
tree | 312bf472c59acb4cfc7540530db244dd7a07ec7c /src/proto.h | |
parent | c42044e7eda48707809c4176a9bb5f6e479fdc92 (diff) | |
download | gdbm-0c38baeca4d8caeb2b16faaf42acd61f4e72bde7.tar.gz gdbm-0c38baeca4d8caeb2b16faaf42acd61f4e72bde7.tar.bz2 |
Minor changes
* src/hash.c (_gdbm_hash): Suppress address sanitizer errors.
* src/proto.h (gdbm_file_sync): Add missing return.
* src/lex.l (input_context_pop): Delete current buffer when tos
is reached.
Diffstat (limited to 'src/proto.h')
-rw-r--r-- | src/proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto.h b/src/proto.h index ab34d75..2171250 100644 --- a/src/proto.h +++ b/src/proto.h @@ -127,6 +127,7 @@ gdbm_file_sync (GDBM_FILE dbf) GDBM_SET_ERRNO (dbf, GDBM_FILE_SYNC_ERROR, TRUE); return 1; } + return 0; #else sync (); sync (); |