Silence "empty statement" warnings

This commit is contained in:
Hallvard Furuseth 2005-07-14 03:06:58 +00:00
parent 684860502e
commit ae385b3af0

View File

@ -413,7 +413,7 @@ void bdb_cache_return_entry_rw( DB_ENV *env, Cache *cache, Entry *e,
#if 0
void bdb_unlocked_cache_return_entry_rw( Cache *cache, Entry *e, int rw );
#else
#define bdb_unlocked_cache_return_entry_rw( a, b, c )
#define bdb_unlocked_cache_return_entry_rw( a, b, c ) ((void)0)
#endif
#define bdb_unlocked_cache_return_entry_r( c, e ) \
bdb_unlocked_cache_return_entry_rw((c), (e), 0)
@ -524,7 +524,7 @@ int bdb_cache_entry_db_unlock(
#define bdb_locker_id BDB_SYMBOL(locker_id)
int bdb_locker_id( Operation *op, DB_ENV *env, int *locker );
#define LOCK_ID_FREE(env, locker)
#define LOCK_ID_FREE(env, locker) ((void)0)
#define LOCK_ID(env, locker) bdb_locker_id(op, env, locker)
#else