summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-02-05 15:53:19 +0100
committerVolker Lendecke <vl@samba.org>2010-02-05 21:11:17 +0100
commit3ea602a7c3f71a5cc1b2f867d86d8baa24bfe661 (patch)
tree09d70027e1acc64c30062ca32017c6955018e949 /source3
parentdcc850e3b30f84513c4b38dac88dffa19aac53cd (diff)
downloadsamba-3ea602a7c3f71a5cc1b2f867d86d8baa24bfe661.tar.gz
samba-3ea602a7c3f71a5cc1b2f867d86d8baa24bfe661.tar.bz2
samba-3ea602a7c3f71a5cc1b2f867d86d8baa24bfe661.zip
s3: Remove a pointless if-statement
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/machine_sid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/machine_sid.c b/source3/passdb/machine_sid.c
index 5b7abfe438..aee9acc993 100644
--- a/source3/passdb/machine_sid.c
+++ b/source3/passdb/machine_sid.c
@@ -44,7 +44,7 @@ static bool read_sid_from_file(const char *fname, DOM_SID *sid)
lines = file_lines_load(fname, &numlines,0, NULL);
if (!lines || numlines < 1) {
- if (lines) TALLOC_FREE(lines);
+ TALLOC_FREE(lines);
return False;
}