summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-05-13 01:42:53 +0000
committerChristopher Faylor <me@cgf.cx>2000-05-13 01:42:53 +0000
commit41010c6a5389d023ad28654eed5fcd0f64eb5ffc (patch)
tree92a62a95d9c0a0ab1611e6b6425ee61bf1696352 /winsup/cygwin/dcrt0.cc
parent5640cadbc544530a4bde6b0333b1d4aaec837a5b (diff)
downloadcygnal-41010c6a5389d023ad28654eed5fcd0f64eb5ffc.tar.gz
cygnal-41010c6a5389d023ad28654eed5fcd0f64eb5ffc.tar.bz2
cygnal-41010c6a5389d023ad28654eed5fcd0f64eb5ffc.zip
* dcrt0.cc (build_argv): Remove unneeded variable.
* select.cc (peek_pipe): Don't check for "ready" if it's already set. (peek_console): Ditto. (peek_serial): Ditto. (peek_socket): Ditto. (peek_windows): Ditto.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index 8c19cceea..a04709ab0 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -382,7 +382,6 @@ static void __stdcall
build_argv (char *cmd, char **&argv, int &argc, int winshell)
{
int argvlen = 0;
- int alloc_cmd = 0; // command allocated by insert_file
int nesting = 0; // monitor "nesting" from insert_file
argc = 0;