It really has to be removed! ;-)
Found by covscan. The code always leaves here as the dst variable
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14940
Pair-programmed-with: Andreas Schneider <asn@samba.org>
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
full_fname_src = full_path_from_dirfsp_atname(talloc_tos(),
srcfsp,
source);
- if (full_fname_dst == NULL) {
+ if (full_fname_src == NULL) {
status = NT_STATUS_NO_MEMORY;
goto out;
}