diff options
| author | Jason Rumney | 2001-01-13 00:00:26 +0000 |
|---|---|---|
| committer | Jason Rumney | 2001-01-13 00:00:26 +0000 |
| commit | 253574a62d17028ada7e86c13317975d940b1eba (patch) | |
| tree | 081ccea9e6c1ca6e438a1de25970912c2fcca1b4 /src | |
| parent | 486a1063b9f90377ad11c80c2d69c5da5bfc65fe (diff) | |
| download | emacs-253574a62d17028ada7e86c13317975d940b1eba.tar.gz emacs-253574a62d17028ada7e86c13317975d940b1eba.zip | |
(init_environment, sys_shutdown, sys_pipe): Remove unused
variables.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32.c | 7 |
1 files changed, 2 insertions, 5 deletions
| @@ -86,7 +86,8 @@ Boston, MA 02111-1307, USA. | |||
| 86 | #include "w32.h" | 86 | #include "w32.h" |
| 87 | #include "ndir.h" | 87 | #include "ndir.h" |
| 88 | #include "w32heap.h" | 88 | #include "w32heap.h" |
| 89 | 89 | #include "systime.h" | |
| 90 | |||
| 90 | #undef min | 91 | #undef min |
| 91 | #undef max | 92 | #undef max |
| 92 | #define min(x, y) (((x) < (y)) ? (x) : (y)) | 93 | #define min(x, y) (((x) < (y)) ? (x) : (y)) |
| @@ -679,7 +680,6 @@ extern Lisp_Object Vsystem_configuration; | |||
| 679 | void | 680 | void |
| 680 | init_environment (char ** argv) | 681 | init_environment (char ** argv) |
| 681 | { | 682 | { |
| 682 | int len; | ||
| 683 | static const char * const tempdirs[] = { | 683 | static const char * const tempdirs[] = { |
| 684 | "$TMPDIR", "$TEMP", "$TMP", "c:/" | 684 | "$TMPDIR", "$TEMP", "$TMP", "c:/" |
| 685 | }; | 685 | }; |
| @@ -2877,8 +2877,6 @@ sys_getservbyname(const char * name, const char * proto) | |||
| 2877 | int | 2877 | int |
| 2878 | sys_shutdown (int s, int how) | 2878 | sys_shutdown (int s, int how) |
| 2879 | { | 2879 | { |
| 2880 | int rc; | ||
| 2881 | |||
| 2882 | if (winsock_lib == NULL) | 2880 | if (winsock_lib == NULL) |
| 2883 | { | 2881 | { |
| 2884 | h_errno = ENETDOWN; | 2882 | h_errno = ENETDOWN; |
| @@ -3007,7 +3005,6 @@ sys_pipe (int * phandles) | |||
| 3007 | { | 3005 | { |
| 3008 | int rc; | 3006 | int rc; |
| 3009 | unsigned flags; | 3007 | unsigned flags; |
| 3010 | child_process * cp; | ||
| 3011 | 3008 | ||
| 3012 | /* make pipe handles non-inheritable; when we spawn a child, we | 3009 | /* make pipe handles non-inheritable; when we spawn a child, we |
| 3013 | replace the relevant handle with an inheritable one. Also put | 3010 | replace the relevant handle with an inheritable one. Also put |