summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-02-14 18:51:41 +0100
committerVolker Lendecke <vl@samba.org>2009-02-14 22:01:03 +0100
commitb222de4eb3abab618f740a89279af2a7dc0985a7 (patch)
tree7a97d95b13d13f45d314dcaff787055553277d63 /source3
parent4e34c0cecadd6a53950c130708cb3db132c6bb8a (diff)
downloadsamba-b222de4eb3abab618f740a89279af2a7dc0985a7.tar.gz
samba-b222de4eb3abab618f740a89279af2a7dc0985a7.tar.bz2
samba-b222de4eb3abab618f740a89279af2a7dc0985a7.zip
Remove a pointless NULL check
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/reg_perfcount.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/registry/reg_perfcount.c b/source3/registry/reg_perfcount.c
index 28cbec51fa..fed3cbdd52 100644
--- a/source3/registry/reg_perfcount.c
+++ b/source3/registry/reg_perfcount.c
@@ -41,9 +41,6 @@ static char *counters_directory(const char *dbname)
char *ret = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (!dbname)
- return NULL;
-
path = talloc_asprintf(ctx, "%s/%s", PERFCOUNTDIR, dbname);
if (!path) {
return NULL;