summaryrefslogtreecommitdiff
path: root/src/w32.c
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2014-03-26 11:21:55 +0100
committerJuanma Barranquero <lekktu@gmail.com>2014-03-26 11:21:55 +0100
commit5af73b0fe8975eeb47fb270819b4143c18d71caa (patch)
tree94bd8d6b4a3737b0994bd3b9bfd41796af7247a0 /src/w32.c
parentc1e6bc0a37980cdedb8bc0454f2b21008fbee0f7 (diff)
downloademacs-5af73b0fe8975eeb47fb270819b4143c18d71caa.tar.gz
src/*.c: Silence a few warnings about unused vars and functions.
* src/image.c (x_bitmap_height, x_bitmap_width) [HAVE_X_WINDOWS]: * src/sysdep.c (reset_sigio) [!DOS_NT]: Declare conditionally. * src/keyboard.c (read_decoded_event_from_main_queue): #ifdef out variables on Windows. * src/w32.c (unsetenv): Remove unused var `retval'. (emacs_gnutls_pull): Remove unused vars `fdset' and `timeout'. * src/w32fns.c (Ffile_system_info): Use parenthesis in and/or expression. * src/w32notify.c (watch_worker): Remove unnecesary var sleep_result. (start_watching): Remove unused var `thr'. * src/w32proc.c (sys_spawnve): Comment out unused vars `first', `last'. (find_child_console): Remove unnecesary var `thread_id'. * src/w32term.c (w32_read_socket): Comment out unused vars `row', `columns'. (x_focus_frame): #ifdef 0 unused variable `dpyinfo'.
Diffstat (limited to 'src/w32.c')
-rw-r--r--src/w32.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/w32.c b/src/w32.c
index 1ffb6ec171f..95092daa83a 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -2413,7 +2413,6 @@ unsetenv (const char *name)
{
char *var;
size_t name_len;
- int retval;
if (name == NULL || *name == '\0' || strchr (name, '=') != NULL)
{
@@ -9261,8 +9260,6 @@ ssize_t
emacs_gnutls_pull (gnutls_transport_ptr_t p, void* buf, size_t sz)
{
int n, err;
- SELECT_TYPE fdset;
- struct timespec timeout;
struct Lisp_Process *process = (struct Lisp_Process *)p;
int fd = process->infd;