svn commit: samba r16308 - in trunk/source/locking: .
jra at samba.org
jra at samba.org
Fri Jun 16 22:29:56 GMT 2006
Author: jra
Date: 2006-06-16 22:29:56 +0000 (Fri, 16 Jun 2006)
New Revision: 16308
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16308
Log:
Make sure we know we must pass a valid pointer here.
Klocwork #1129.
Jeremy.
Modified:
trunk/source/locking/posix.c
Changeset:
Modified: trunk/source/locking/posix.c
===================================================================
--- trunk/source/locking/posix.c 2006-06-16 22:29:53 UTC (rev 16307)
+++ trunk/source/locking/posix.c 2006-06-16 22:29:56 UTC (rev 16308)
@@ -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