diff options
author | Christopher Faylor <me@cgf.cx> | 2000-05-07 03:29:08 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-05-07 03:29:08 +0000 |
commit | eafa31fb9f26f56fd8ed8a4cb5d55f5968c15599 (patch) | |
tree | ab18b8388b456c7fe5a265a90e32ad0c1ff3c77a /winsup/cygwin/fhandler.cc | |
parent | 75546193ec47c939c7356f6fd8cda54ec58b423f (diff) | |
download | cygnal-eafa31fb9f26f56fd8ed8a4cb5d55f5968c15599.tar.gz cygnal-eafa31fb9f26f56fd8ed8a4cb5d55f5968c15599.tar.bz2 cygnal-eafa31fb9f26f56fd8ed8a4cb5d55f5968c15599.zip |
* 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/fhandler.cc')
-rw-r--r-- | winsup/cygwin/fhandler.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index ef4281c7c..45064c04d 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -1428,8 +1428,15 @@ fhandler_pipe::lseek (off_t offset, int whence) return -1; } +#ifdef DEBUGGING +#define nameparm name +#else +#define nameparm +#endif + void -fhandler_base::set_inheritance (HANDLE &h, int not_inheriting, const char *name) +fhandler_base::set_inheritance (HANDLE &h, int not_inheriting, const char *nameparm) +#undef nameparm { HANDLE newh; |