diff options
author | Noriko Hosoi <nhosoi@redhat.com> | 2010-07-08 12:21:46 -0700 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2010-07-23 13:44:04 -0700 |
commit | 921e51777d72ee7508fd95bbc6d3aa4ca4bdc44b (patch) | |
tree | e91e0faf4340821395dac843fcdbd9c8612943fe /ldap/servers/slapd/tools | |
parent | f502808c028286d69ab1205619e232e18ae56795 (diff) | |
download | ds-921e51777d72ee7508fd95bbc6d3aa4ca4bdc44b.tar.gz ds-921e51777d72ee7508fd95bbc6d3aa4ca4bdc44b.tar.xz ds-921e51777d72ee7508fd95bbc6d3aa4ca4bdc44b.zip |
610281 - fix coverity Defect Type: Control flow issues
https://bugzilla.redhat.com/show_bug.cgi?id=610281
11843 DEADCODE Triaged Unassigned Bug Minor Fix Required
mm_init() ds/ldap/servers/slapd/tools/mmldif.c
Comment:
A variable tailorfile is not used.
Remove it.
Diffstat (limited to 'ldap/servers/slapd/tools')
-rw-r--r-- | ldap/servers/slapd/tools/mmldif.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ldap/servers/slapd/tools/mmldif.c b/ldap/servers/slapd/tools/mmldif.c index 409ce3ed..291702a8 100644 --- a/ldap/servers/slapd/tools/mmldif.c +++ b/ldap/servers/slapd/tools/mmldif.c @@ -639,7 +639,6 @@ int mm_init(int argc, char * argv[]) int c; char *ofn = NULL; char *prog = argv[0]; - char *tailorfile = NULL; time(&tl); seed = (char)tl; @@ -712,7 +711,6 @@ int mm_init(int argc, char * argv[]) hashmask = 0xfff; hashtable = (entry_t **)calloc(0x1000, sizeof(entry_t*)); - if (tailorfile) free(tailorfile); return 0; } |