summaryrefslogtreecommitdiffstats
path: root/src/format.c
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2012-01-24 12:59:32 -0500
committerNalin Dahyabhai <nalin@redhat.com>2012-01-24 12:59:32 -0500
commitf81bef36f83f0787dc84ee86187f2d7668a69758 (patch)
tree396ad1264ecd8854a8c5eb3f46433234b936778d /src/format.c
parenta854ade819cefe802d4834f980313501390bc8cc (diff)
- remove unused variables
Diffstat (limited to 'src/format.c')
-rw-r--r--src/format.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/format.c b/src/format.c
index 70d0f19..2d18da7 100644
--- a/src/format.c
+++ b/src/format.c
@@ -1214,7 +1214,7 @@ format_deref_rx(struct plugin_state *state, Slapi_PBlock *pb, Slapi_Entry *e,
struct format_ref_attr_list ***ref_attr_list,
struct format_ref_attr_list ***inref_attr_list)
{
- int i, j, k, argc;
+ int i, j, k;
Slapi_Entry *entry;
Slapi_DN **these, **these2, **next, **next2, *parent;
Slapi_ValueSet *values;
@@ -3132,10 +3132,8 @@ format_internal_sequence_number(struct plugin_state *state,
{
static int sequence;
char *buf;
- int ret, i, j, argc;
- char **argv, **values;
- const char *value_format, *default_value;
- unsigned int *lengths;
+ int ret;
+ const char *value_format;
struct berval **choices, bv;
choices = NULL;