Commit 119f64db authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

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.
parent cdeb10ce
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
......
......@@ -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);
}
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment