1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-17 00:30:37 -08:00

src/w32*.c: Silence compiler warnings.

* w32fns.c (Fw32_shell_execute): Remove unused local variable.
(Fx_file_dialog): Add parentheses around && to silence warning.

* w32term.c (construct_drag_n_drop): Remove unused local variable.
This commit is contained in:
Juanma Barranquero 2013-12-15 18:40:44 +01:00
parent cdeb10ce51
commit 119f64dbf6
3 changed files with 10 additions and 5 deletions

View file

@ -1,3 +1,10 @@
2013-12-15 Juanma Barranquero <lekktu@gmail.com>
* w32fns.c (Fw32_shell_execute): Remove unused local variable.
(Fx_file_dialog): Add parentheses around && to silence warning.
* w32term.c (construct_drag_n_drop): Remove unused local variable.
2013-12-15 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (extend_face_to_end_of_line): Extend background of

View file

@ -6667,9 +6667,9 @@ Otherwise, if ONLY-DIR-P is non-nil, the user can only select directories. */)
/* Strip the dummy filename off the end of the string if we
added it to select a directory. */
if (use_unicode && file_details_w->nFilterIndex == 2
if ((use_unicode && file_details_w->nFilterIndex == 2)
#ifndef NTGUI_UNICODE
|| !use_unicode && file_details_a->nFilterIndex == 2
|| (!use_unicode && file_details_a->nFilterIndex == 2)
#endif
)
filename = Ffile_name_directory (filename);
@ -6965,8 +6965,6 @@ an integer representing a ShowWindow flag:
}
if (STRINGP (parameters))
{
int len;
parameters = ENCODE_SYSTEM (parameters);
params_a = SSDATA (parameters);
}

View file

@ -3137,7 +3137,7 @@ construct_drag_n_drop (struct input_event *result, W32Msg *msg, struct frame *f)
char name_a[MAX_PATH];
char file[MAX_UTF8_PATH];
#endif
int i, len;
int i;
result->kind = DRAG_N_DROP_EVENT;
result->code = 0;