* - use bb_default_error_retval
*/
-
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
+#include "busybox.h"
#include <errno.h>
-#include <unistd.h>
#include <getopt.h> /* struct option */
-#include "busybox.h"
#if ENABLE_FEATURE_ENV_LONG_OPTIONS
static const struct option env_long_options[] = {
{
static char *cleanenv[1] = { NULL };
- char **ep, *p;
+ char **ep;
unsigned long opt;
llist_t *unset_env = NULL;
extern char **environ;
}
}
- while (*argv && ((p = strchr(*argv, '=')) != NULL)) {
+ while (*argv && (strchr(*argv, '=') != NULL)) {
if (putenv(*argv) < 0) {
bb_perror_msg_and_die("putenv");
}