summaryrefslogtreecommitdiff
path: root/lib/buildcmd.c
diff options
context:
space:
mode:
authorJames Youngman <jay@gnu.org>2007-02-25 12:05:51 +0000
committerJames Youngman <jay@gnu.org>2007-02-25 12:05:51 +0000
commitc7ca8e10f25d951943b536c9d68d0e740fa35415 (patch)
tree39592bea90a27a26e6e17fa575f217dc59552cbf /lib/buildcmd.c
parentc3b2b1b54ba69100676526a682c79b383b7c794f (diff)
downloadfindutils-c7ca8e10f25d951943b536c9d68d0e740fa35415.tar.gz
Eliminated a few compiler warnings
Diffstat (limited to 'lib/buildcmd.c')
-rw-r--r--lib/buildcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/buildcmd.c b/lib/buildcmd.c
index c90081fe..05f54e1f 100644
--- a/lib/buildcmd.c
+++ b/lib/buildcmd.c
@@ -123,7 +123,6 @@ bc_do_insert (const struct buildcmd_control *ctl,
static char *insertbuf;
char *p;
size_t bytes_left = ctl->arg_max - 1; /* Bytes left on the command line. */
- int need_prefix;
/* XXX: on systems lacking an upper limit for exec args, ctl->arg_max
* may have been set to LONG_MAX (see bc_get_arg_max()). Hence
@@ -443,6 +442,7 @@ bc_init_controlinfo(struct buildcmd_control *ctl)
}
else
{
+#warning the next line is probably a bug.
ctl->posix_arg_size_max - size_of_environment;
}