diff options
Diffstat (limited to 'source3/registry')
-rw-r--r-- | source3/registry/reg_backend_db.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c index 06251e01f9..965d121649 100644 --- a/source3/registry/reg_backend_db.c +++ b/source3/registry/reg_backend_db.c @@ -541,10 +541,6 @@ static bool tdb_data_read_cstr(TDB_DATA *buf, char **result) return false; } -static bool tdb_data_is_empty(TDB_DATA d) { - return (d.dptr == NULL) || (d.dsize == 0); -} - static bool tdb_data_is_cstr(TDB_DATA d) { if (tdb_data_is_empty(d) || (d.dptr[d.dsize-1] != '\0')) { return false; |