diff options
author | Volker Lendecke <vl@samba.org> | 2009-02-14 18:51:41 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-02-14 22:01:03 +0100 |
commit | b222de4eb3abab618f740a89279af2a7dc0985a7 (patch) | |
tree | 7a97d95b13d13f45d314dcaff787055553277d63 /source3 | |
parent | 4e34c0cecadd6a53950c130708cb3db132c6bb8a (diff) | |
download | samba-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.c | 3 |
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; |