fix Windows build
Thanks to Ben Goetter
This commit is contained in:
parent
834f4a5bf3
commit
4d8ee32fd7
|
@ -561,9 +561,11 @@ static Scheme_Object *reverse_path_list(Scheme_Object *l, int rel_to_cwd)
|
|||
static Scheme_Object *get_log_level(char *prog, char *real_switch, const char *envvar, const char *what, GC_CAN_IGNORE char *str)
|
||||
{
|
||||
int k, len, default_lvl = -1;
|
||||
Scheme_Object *l = scheme_null, *last = NULL;
|
||||
Scheme_Object *l, *last = NULL;
|
||||
GC_CAN_IGNORE char *s, *orig_str = str;
|
||||
|
||||
l = scheme_make_null();
|
||||
|
||||
while (1) {
|
||||
if (!*str) {
|
||||
if (default_lvl == -1) default_lvl = 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user