Remove unused variables

This commit is contained in:
Hallvard Furuseth 2007-05-09 19:11:44 +00:00
parent 5a6362c453
commit 584ea90db2
4 changed files with 0 additions and 8 deletions

View file

@ -930,7 +930,6 @@ config_generic(ConfigArgs *c) {
if ( sid_list ) {
ServerID *si;
struct berval bv;
char *ptr;
for ( si = sid_list; si; si=si->si_next ) {
if ( !BER_BVISEMPTY( &si->si_url )) {
@ -5763,10 +5762,8 @@ config_tool_entry_put( BackendDB *be, Entry *e, struct berval *text )
ConfigArgs ca;
OperationBuffer opbuf;
Entry *ce;
Attribute *attr;
Connection conn = {0};
Operation *op = NULL;
SlapReply rs = {REP_RESULT};
void *thrctx;
/* Create entry for frontend database if it does not exist already */

View file

@ -1200,7 +1200,6 @@ int connection_client_setup(
ldap_pvt_thread_start_t *func,
void *arg )
{
int rc;
Connection *c;
c = connection_init( s, (Listener *)&dummy_list, "", "",

View file

@ -1724,7 +1724,6 @@ slap_listener(
{
uid_t uid;
gid_t gid;
int rc;
#ifdef LDAP_PF_LOCAL_SENDMSG
peerbv.bv_val = peerbuf;

View file

@ -41,9 +41,6 @@ do_modify(
SlapReply *rs )
{
struct berval dn = BER_BVNULL;
char *last;
ber_tag_t tag;
ber_len_t len;
char textbuf[ SLAP_TEXT_BUFLEN ];
size_t textlen = sizeof( textbuf );