diff options
author | Gregor Beck <gbeck@sernet.de> | 2011-11-07 09:59:37 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-12-03 05:20:30 +0100 |
commit | d74b3f941f5e28bf4a98dab6d4be25fbaab200b7 (patch) | |
tree | 3d8c95e3983380e2f7335780a74c41742a031421 /source3/utils/net_registry_check.c | |
parent | 789aa9aab2b99ae1466a67e3f505abbc67a3e7cb (diff) | |
download | samba-d74b3f941f5e28bf4a98dab6d4be25fbaab200b7.tar.gz samba-d74b3f941f5e28bf4a98dab6d4be25fbaab200b7.tar.bz2 samba-d74b3f941f5e28bf4a98dab6d4be25fbaab200b7.zip |
lib/util: factor out tdb_data_is_empty
Signed-off-by: Michael Adam <obnox@samba.org>
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Sat Dec 3 05:20:30 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/utils/net_registry_check.c')
-rw-r--r-- | source3/utils/net_registry_check.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/utils/net_registry_check.c b/source3/utils/net_registry_check.c index ce7032ab64..9dca2192b6 100644 --- a/source3/utils/net_registry_check.c +++ b/source3/utils/net_registry_check.c @@ -207,10 +207,6 @@ static bool tdb_data_read_regval(TDB_DATA *buf, struct regval *result) return true; } -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)) { return false; |