mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
gencache: Remove a redundant check
gencache_pull_timeout checks for NULL ptr already Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
78b8b91646
commit
0817d107a4
@ -456,9 +456,6 @@ static int gencache_parse_fn(TDB_DATA key, TDB_DATA data, void *private_data)
|
||||
DATA_BLOB payload;
|
||||
bool ret;
|
||||
|
||||
if (data.dptr == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ret = gencache_pull_timeout(data, &t.timeout, &payload);
|
||||
if (!ret) {
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user