diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-08-05 12:02:13 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-08-05 12:02:13 +0000 |
commit | 3d90316e66065e27ae48bf752124acf7961049d7 (patch) | |
tree | aa144a3b3f0970e0f0841df4ac4b1c9502a27f11 /src/lock.c | |
parent | 578587744de80dbb54ca2ee4850d02aeb2066b0b (diff) | |
download | gdbm-3d90316e66065e27ae48bf752124acf7961049d7.tar.gz gdbm-3d90316e66065e27ae48bf752124acf7961049d7.tar.bz2 |
Shut the gcc warning
Diffstat (limited to 'src/lock.c')
-rw-r--r-- | src/lock.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -84,6 +84,9 @@ _gdbm_unlock_file (GDBM_FILE dbf) fcntl (dbf->desc, F_SETLK, &fl); #endif break; + + case LOCKING_NONE: + break; } dbf->lock_type = LOCKING_NONE; |