diff options
| author | Juanma Barranquero | 2011-03-23 17:25:38 +0100 |
|---|---|---|
| committer | Juanma Barranquero | 2011-03-23 17:25:38 +0100 |
| commit | 9c88f339493465e8e200b21885f2ac886b299169 (patch) | |
| tree | 2efb1ad55d59be8f165c5bda002d8303014c489f /lib-src | |
| parent | def71b5e5b9f78a112e52201881aea631b7ebcde (diff) | |
| download | emacs-9c88f339493465e8e200b21885f2ac886b299169.tar.gz emacs-9c88f339493465e8e200b21885f2ac886b299169.zip | |
w32: Fix some warnings reported by -Wall -Wextra.
* lib-src/ntlib.c: Include <ctype.h>.
* nt/cmdproxy.c: Include <ctype.h>.
(make_absolute): Remove unused variable `i'.
* src/w32fns.c (x_set_menu_bar_lines): Remove unused variable `olines'.
(w32_wnd_proc): Pass NULL to Windows API, not uninitialized buffer.
(Fx_close_connection): Remove unused variable `i'.
* src/w32font.c (w32font_draw): Return number of glyphs.
(w32font_open_internal): Remove unused variable `i'.
(w32font_driver): Add missing initializer.
* src/w32menu.c (utf8to16): Remove unused variable `utf16'.
(fill_in_menu): Remove unused variable `items_added'.
* src/w32term.c (last_mouse_press_frame): Remove static global variable.
(w32_clip_to_row): Remove unused variable `f'.
(x_delete_terminal): Remove unused variable `i'.
* src/w32uniscribe.c (uniscribe_shape): Remove unused variable `nclusters'.
(NOTHING): Remove unused static global variable.
(uniscribe_check_otf): Remove unused variable `table'.
(uniscribe_font_driver): Add missing initializers.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 4 | ||||
| -rw-r--r-- | lib-src/ntlib.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 0e46a83aafa..672fe8c8541 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-03-23 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * ntlib.c: Include <ctype.h>. | ||
| 4 | |||
| 1 | 2011-03-23 Glenn Morris <rgm@gnu.org> | 5 | 2011-03-23 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * Makefile.in ($(DESTDIR)${archlibdir}): | 7 | * Makefile.in ($(DESTDIR)${archlibdir}): |
diff --git a/lib-src/ntlib.c b/lib-src/ntlib.c index 0ecd4177d2c..83f653f3ea3 100644 --- a/lib-src/ntlib.c +++ b/lib-src/ntlib.c | |||
| @@ -28,6 +28,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #include <sys/types.h> | 28 | #include <sys/types.h> |
| 29 | #include <sys/stat.h> | 29 | #include <sys/stat.h> |
| 30 | #include <errno.h> | 30 | #include <errno.h> |
| 31 | #include <ctype.h> | ||
| 31 | 32 | ||
| 32 | #include "ntlib.h" | 33 | #include "ntlib.h" |
| 33 | 34 | ||