diff options
author | Volker Lendecke <vl@samba.org> | 2012-06-11 11:33:45 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-06-11 17:26:53 +0200 |
commit | 34c24c20c9a33200ebd910c5cf9c9e14b38f3d50 (patch) | |
tree | ea7bd6cc4c477d4c0a114f9931974b53b24c34b3 /source3/smbd/noquotas.c | |
parent | e1a4d3cdd455616a9c6cb0cff543de2b5fdc2766 (diff) | |
download | samba-34c24c20c9a33200ebd910c5cf9c9e14b38f3d50.tar.gz samba-34c24c20c9a33200ebd910c5cf9c9e14b38f3d50.tar.bz2 samba-34c24c20c9a33200ebd910c5cf9c9e14b38f3d50.zip |
s3: Fix Coverity ID 703869 Logically dead code
We "TALLOC_FREE(curr)" and assign prev=curr in the for-loop header.
This will lead to "prev"==NULL always. In this loop, we do not need
to correctly re-shuffle the linked list, we delete all from the
beginning anyway.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Jun 11 17:26:53 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd/noquotas.c')
0 files changed, 0 insertions, 0 deletions