clang complained that "full_filename==NULL" is always false, because
it's a normal stack variable.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Sep 4 18:20:22 UTC 2019 on sn-devel-184
filename[i] = talloc_asprintf(tctx,
"test_readdirplus_%u.txt",
i);
- if (full_filename == NULL) {
+ if (filename[i] == NULL) {
torture_fail_goto(tctx,
done,
"talloc fail\n");
"%s/%s",
dname,
filename[i]);
- if (full_filename == NULL) {
+ if (full_filename[i] == NULL) {
torture_fail_goto(tctx,
done,
"talloc fail\n");