Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
cd9356f2
Commit
cd9356f2
authored
Sep 22, 2013
by
Daniel Colascione
Browse files
Suppress unused variable warning when compiling without a window system.
parent
3e0b94e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
src/ChangeLog
src/ChangeLog
+5
-0
src/xfns.c
src/xfns.c
+2
-0
No files found.
src/ChangeLog
View file @
cd9356f2
2013-09-22 Daniel Colascione <dancol@dancol.org>
* xfns.c (x_get_monitor_attributes): Suppress unused variable
warning when compiling without a window system.
2013-09-22 Daniel Colascione <dancol@dancol.org>
* data.c (Qbool_vector_p): New symbol.
...
...
src/xfns.c
View file @
cd9356f2
...
...
@@ -3949,6 +3949,8 @@ x_get_monitor_attributes (struct x_display_info *dpyinfo)
Lisp_Object attributes_list = Qnil;
Display *dpy = dpyinfo->display;
(void) dpy; /* Suppress unused variable warning. */
#ifdef HAVE_XRANDR
int xrr_event_base, xrr_error_base;
bool xrr_ok = false;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment