svn commit: samba r16307 - in branches/SAMBA_3_0/source/locking: .
jra at samba.org
jra at samba.org
Fri Jun 16 22:29:54 GMT 2006
Author: jra
Date: 2006-06-16 22:29:53 +0000 (Fri, 16 Jun 2006)
New Revision: 16307
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16307
Log:
Make sure we know we must pass a valid pointer here.
Klocwork #1129.
Jeremy.
Modified:
branches/SAMBA_3_0/source/locking/posix.c
Changeset:
Modified: branches/SAMBA_3_0/source/locking/posix.c
===================================================================
--- branches/SAMBA_3_0/source/locking/posix.c 2006-06-16 22:25:17 UTC (rev 16306)
+++ branches/SAMBA_3_0/source/locking/posix.c 2006-06-16 22:29:53 UTC (rev 16307)
@@ -454,9 +454,8 @@
entry->start == start &&
entry->size == size) {
- /* Make a copy if requested. */
- if (pl)
- *pl = *entry;
+ /* Make a copy */
+ *pl = *entry;
/* Found it - delete it. */
if (count == 1) {
More information about the samba-cvs
mailing list