From 7254898bc760984357f068926cb4504c154d5cae Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 17 Jul 2009 21:26:16 -0700 Subject: Fix coverity CID 931. This check is redundent as smb_fname can never be null in this function. Jeremy. --- source3/smbd/trans2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/trans2.c') diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 06536f9e21..561c18a29d 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -7244,7 +7244,7 @@ NTSTATUS smbd_do_setfilepathinfo(connection_struct *conn, case SMB_SET_FILE_UNIX_HLINK: { - if (fsp || smb_fname == NULL) { + if (fsp) { /* We must have a pathname for this. */ return NT_STATUS_INVALID_LEVEL; } -- cgit