minor cleanup
This commit is contained in:
parent
f244b7532f
commit
4b080b5a28
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue