diff --git a/scsh/jcontrol1.c b/scsh/jcontrol1.c index e593628..ca725cc 100644 --- a/scsh/jcontrol1.c +++ b/scsh/jcontrol1.c @@ -27,7 +27,7 @@ int set_procmask(int hi, int lo, int *old_lo_p) int get_procmask(int *old_lo_p) { - sigset_t mask, old_mask; + sigset_t old_mask; int old_hi; sigprocmask(SIG_SETMASK, NULL, &old_mask); diff --git a/scsh/re1.c b/scsh/re1.c index 7df2494..e640260 100644 --- a/scsh/re1.c +++ b/scsh/re1.c @@ -28,7 +28,6 @@ char *reg_match(const char *re, const char *string, int start, scheme_value start_vec, scheme_value end_vec, int *hit) { regexp *prog = regcomp(re); - int status; *hit = 0; if( !prog ) return regexp_error; diff --git a/scsh/time1.c b/scsh/time1.c index 7751990..cb99ddc 100644 --- a/scsh/time1.c +++ b/scsh/time1.c @@ -279,7 +279,7 @@ scheme_value format_date(const char *fmt, int sec, int min, int hour, char *fmt2 = Malloc(char, 2+2*fmt_len); /* 1 extra for prefixed "x" char.*/ int target_len = 1; /* 1 for the prefixed "x" char. Ugh. */ int zone = 0; /* Are we using the time-zone? */ - char c, *q, *target; + char *q, *target; const char *p; char *newenv[2], **oldenv = NULL; int result_len;