diff options
| author | Juanma Barranquero | 2013-12-15 18:40:44 +0100 |
|---|---|---|
| committer | Juanma Barranquero | 2013-12-15 18:40:44 +0100 |
| commit | 119f64dbf65b14c54cd26e64386ccb2e2a7091fc (patch) | |
| tree | 1c481b812ef9953015a50886b1a4ae09879a09cc /src/w32fns.c | |
| parent | cdeb10ce512b9b579add9dc358d90e1ab6475f6e (diff) | |
| download | emacs-119f64dbf65b14c54cd26e64386ccb2e2a7091fc.tar.gz emacs-119f64dbf65b14c54cd26e64386ccb2e2a7091fc.zip | |
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.
Diffstat (limited to 'src/w32fns.c')
| -rw-r--r-- | src/w32fns.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index e5d899d8a15..8576d478e42 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -6667,9 +6667,9 @@ Otherwise, if ONLY-DIR-P is non-nil, the user can only select directories. */) | |||
| 6667 | 6667 | ||
| 6668 | /* Strip the dummy filename off the end of the string if we | 6668 | /* Strip the dummy filename off the end of the string if we |
| 6669 | added it to select a directory. */ | 6669 | added it to select a directory. */ |
| 6670 | if (use_unicode && file_details_w->nFilterIndex == 2 | 6670 | if ((use_unicode && file_details_w->nFilterIndex == 2) |
| 6671 | #ifndef NTGUI_UNICODE | 6671 | #ifndef NTGUI_UNICODE |
| 6672 | || !use_unicode && file_details_a->nFilterIndex == 2 | 6672 | || (!use_unicode && file_details_a->nFilterIndex == 2) |
| 6673 | #endif | 6673 | #endif |
| 6674 | ) | 6674 | ) |
| 6675 | filename = Ffile_name_directory (filename); | 6675 | filename = Ffile_name_directory (filename); |
| @@ -6965,8 +6965,6 @@ an integer representing a ShowWindow flag: | |||
| 6965 | } | 6965 | } |
| 6966 | if (STRINGP (parameters)) | 6966 | if (STRINGP (parameters)) |
| 6967 | { | 6967 | { |
| 6968 | int len; | ||
| 6969 | |||
| 6970 | parameters = ENCODE_SYSTEM (parameters); | 6968 | parameters = ENCODE_SYSTEM (parameters); |
| 6971 | params_a = SSDATA (parameters); | 6969 | params_a = SSDATA (parameters); |
| 6972 | } | 6970 | } |