The next operation with these variables will overwrite the values set at
init.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
DIR *dir;
struct timeval time;
fd_set rfds;
- int retval = 0;
+ int retval;
char buf[BUF_LEN];
pid_t pid = getpid();
time.tv_sec = 0;
struct passwd *
pw_dup(const struct passwd *pw) {
char *cp;
- size_t nsize=0, psize=0, gsize=0, dsize=0, ssize=0, total=0;
+ size_t nsize=0, psize=0, gsize=0, dsize=0, ssize=0, total;
struct passwd *newpw;
/* Allocate in one big chunk for easy freeing */
*/
static char **build_env(char **cronenv) {
#ifdef WITH_PAM
- char **jobenv = cronenv;
+ char **jobenv;
char **pamenv = pam_getenvlist(pamh);
char *cronvar;
int count = 0;