* remote.c: Define remote_debug to 0 and #if 0 baud_rate. Temporary

hack so this file compiles again.

	* remote-utils.c (gr_multi_scan): Cast return value from alloca.
	(gr_multi_scan): #if 0 never-reached return(-1).
This commit is contained in:
Jim Kingdon
1993-09-14 01:08:22 +00:00
parent 02ff0cd370
commit 55fea07b55
3 changed files with 49 additions and 5 deletions

View File

@ -535,7 +535,7 @@ gr_multi_scan (list, passthrough)
swallowed_p = swallowed = alloca(max_length << 1);
/* and a list of pointers to current scan points. */
plist = alloca(string_count * sizeof(*plist));
plist = (char **) alloca (string_count * sizeof(*plist));
/* and initialize */
for (i = 0; i < string_count; ++i)
@ -579,8 +579,10 @@ gr_multi_scan (list, passthrough)
swallowed_p = swallowed;
}
}
#if 0
/* Never reached. */
return(-1);
#endif
}
/* Get ready to modify the registers array. On machines which store