* dcrt0.cc (insert_file): Eliminate unused parameter.

(build_argv): Ditto.
* exceptions.cc (stack): Eliminate unused parameters.
(stackdump): Ditto.
(cygwin_stackdump): Reflect above changes.
(sig_handle): Ditto.
* fhandler.cc (fhandler_base::set_inheritance): Use kludge to avoid unused
parameter warning.
This commit is contained in:
Christopher Faylor
2000-05-07 03:29:08 +00:00
parent 75546193ec
commit eafa31fb9f
4 changed files with 67 additions and 51 deletions

View File

@@ -185,7 +185,7 @@ host_dependent_constants::init ()
* -@foo and not the contents of foo.
*/
static int __stdcall
insert_file (char *name, char *&cmd, int& alloc_cmd)
insert_file (char *name, char *&cmd)
{
HANDLE f;
DWORD size;
@@ -424,7 +424,7 @@ build_argv (char *cmd, char **&argv, int &argc, int winshell)
{
if (++nesting > MAX_AT_FILE_LEVEL)
api_fatal ("Too many levels of nesting for %s", word);
if (insert_file (word, cmd, alloc_cmd))
if (insert_file (word, cmd))
continue; // There's new stuff in cmd now
}