git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a8bf11
)
r16307: Make sure we know we must pass a valid pointer here.
author
Jeremy Allison
<jra@samba.org>
Fri, 16 Jun 2006 22:29:53 +0000
(22:29 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:17:32 +0000
(11:17 -0500)
Klocwork #1129.
Jeremy.
(This used to be commit
e8d86362ba8762a5e4180e7320f5ac8bb37c203d
)
source3/locking/posix.c
patch
|
blob
|
history
diff --git
a/source3/locking/posix.c
b/source3/locking/posix.c
index e7075c57a64a933528e7258b206c20750e3ee6f7..4a5f59b622d5f2b8b60c8ddd0ae2bad4bec77ea0 100644
(file)
--- a/
source3/locking/posix.c
+++ b/
source3/locking/posix.c
@@
-454,9
+454,8
@@
static int delete_posix_lock_entry(files_struct *fsp, SMB_OFF_T start, SMB_OFF_T
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) {