diff options
author | Christopher Faylor <me@cgf.cx> | 2000-05-07 07:29:08 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-05-07 07:29:08 +0400 |
commit | eafa31fb9f26f56fd8ed8a4cb5d55f5968c15599 (patch) | |
tree | ab18b8388b456c7fe5a265a90e32ad0c1ff3c77a /winsup/cygwin/dcrt0.cc | |
parent | 75546193ec47c939c7356f6fd8cda54ec58b423f (diff) |
* 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.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r-- | winsup/cygwin/dcrt0.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc index c0107bdac..8c19cceea 100644 --- a/winsup/cygwin/dcrt0.cc +++ b/winsup/cygwin/dcrt0.cc @@ -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 } |