diff options
| author | Daniel Colascione | 2013-09-22 01:48:21 -0800 |
|---|---|---|
| committer | Daniel Colascione | 2013-09-22 01:48:21 -0800 |
| commit | cd9356f211b24948a934ce08b60f61301d866835 (patch) | |
| tree | 2527f9c7fd032bdbcf44d9156a4ba8513f90318a /src | |
| parent | 3e0b94e7ff1fc69b077322d672ef5d0b668541c3 (diff) | |
| download | emacs-cd9356f211b24948a934ce08b60f61301d866835.tar.gz emacs-cd9356f211b24948a934ce08b60f61301d866835.zip | |
Suppress unused variable warning when compiling without a window system.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/xfns.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7c3a29c5d86..d679a0ae9c9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2013-09-22 Daniel Colascione <dancol@dancol.org> | 1 | 2013-09-22 Daniel Colascione <dancol@dancol.org> |
| 2 | 2 | ||
| 3 | * xfns.c (x_get_monitor_attributes): Suppress unused variable | ||
| 4 | warning when compiling without a window system. | ||
| 5 | |||
| 6 | 2013-09-22 Daniel Colascione <dancol@dancol.org> | ||
| 7 | |||
| 3 | * data.c (Qbool_vector_p): New symbol. | 8 | * data.c (Qbool_vector_p): New symbol. |
| 4 | (bool_vector_spare_mask,popcount_size_t_generic) | 9 | (bool_vector_spare_mask,popcount_size_t_generic) |
| 5 | (popcount_size_t_msc,popcount_size_t_gcc) | 10 | (popcount_size_t_msc,popcount_size_t_gcc) |
diff --git a/src/xfns.c b/src/xfns.c index 38aa5b3bbfe..2b895642942 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -3949,6 +3949,8 @@ x_get_monitor_attributes (struct x_display_info *dpyinfo) | |||
| 3949 | Lisp_Object attributes_list = Qnil; | 3949 | Lisp_Object attributes_list = Qnil; |
| 3950 | Display *dpy = dpyinfo->display; | 3950 | Display *dpy = dpyinfo->display; |
| 3951 | 3951 | ||
| 3952 | (void) dpy; /* Suppress unused variable warning. */ | ||
| 3953 | |||
| 3952 | #ifdef HAVE_XRANDR | 3954 | #ifdef HAVE_XRANDR |
| 3953 | int xrr_event_base, xrr_error_base; | 3955 | int xrr_event_base, xrr_error_base; |
| 3954 | bool xrr_ok = false; | 3956 | bool xrr_ok = false; |