These are in the code for debug/inspection purposes.
* src/ui/lwlib/xlwgauge.c (GaugeExpose): Use SXE_SET_UNUSED.
* src/ui/lwlib/xlwcheckbox.c (DrawCheck):Ditto.
* src/sysdep.c (tty_init_sys_modes_on_device)
(tty_reset_sys_modes_on_device): Ditto.
* src/regex.c (re_match_2_internal): Ditto.
* src/mule/file-coding.c (Fdefine_coding_system_alias): Ditto.
* src/media/sound-oss.c (sound_oss_handle_aj_events): Ditto.
* src/media/sound-jack.c (sound_jack_handle_aj_events)
(sound_jack_process): Ditto.
* src/media/sound-ao.c (sound_ao_handle_aj_events): Ditto.
* src/media/sound-alsa.c (sound_alsa_handle_aj_events): Ditto.
* src/media/media-sndfile.c (media_sndfile_open): Ditto.
* src/media/media-mad.c (media_mad_read): Ditto.
* src/media/media-internal.c (media_internal_analyse_stream): Ditto.
* src/emacs.c (Fdump_emacs): Ditto.
* src/bytecode.c (execute_optimized_program): Ditto.
Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
14 files changed:
Lisp_Object args;
orig_fun = fun = XCAR(op);
Lisp_Object args;
orig_fun = fun = XCAR(op);
+ SXE_SET_UNUSED(orig_fun);
+
args = XCDR(op);
if (SYMBOLP (fun) && !EQ(fun, Qunbound) &&
(fun = XSYMBOL(fun)->function, SYMBOLP(fun)))
args = XCDR(op);
if (SYMBOLP (fun) && !EQ(fun, Qunbound) &&
(fun = XSYMBOL(fun)->function, SYMBOLP(fun)))
garbage_collect_1();
#ifdef PDUMP
garbage_collect_1();
#ifdef PDUMP
+ SXE_SET_UNUSED(symfile_ext);
pdump(filename_ext);
#else
pdump(filename_ext);
#else
mkfp = media_stream_kind_properties(ms).fprops;
TO_EXTERNAL_FORMAT(LISP_STRING, mkfp->filename,
ALLOCA, (file, file_len), Qnil);
mkfp = media_stream_kind_properties(ms).fprops;
TO_EXTERNAL_FORMAT(LISP_STRING, mkfp->filename,
ALLOCA, (file, file_len), Qnil);
+ SXE_SET_UNUSED(file_len);
+
if (file == NULL || (fd = open(file, O_RDONLY, 0)) < 0) {
xfree(data);
return;
if (file == NULL || (fd = open(file, O_RDONLY, 0)) < 0) {
xfree(data);
return;
/* fetch framesize */
framesize = mtap->framesize;
/* fetch framesize */
framesize = mtap->framesize;
+ SXE_SET_UNUSED(framesize);
/* prepare mad */
mads = madd->stream;
/* prepare mad */
mads = madd->stream;
mkfp = media_stream_kind_properties(ms).fprops;
TO_EXTERNAL_FORMAT(LISP_STRING, mkfp->filename,
ALLOCA, (file, file_len), Qnil);
mkfp = media_stream_kind_properties(ms).fprops;
TO_EXTERNAL_FORMAT(LISP_STRING, mkfp->filename,
ALLOCA, (file, file_len), Qnil);
+ SXE_SET_UNUSED(file_len);
+
if ( file != NULL ) {
sf = sf_open(file, SFM_READ, sfinfo);
}
if ( file != NULL ) {
sf = sf_open(file, SFM_READ, sfinfo);
}
SXE_MUTEX_LOCK(&aj->mtx);
sasd = audio_job_device_data(aj);
SXE_MUTEX_LOCK(&aj->mtx);
sasd = audio_job_device_data(aj);
+ SXE_SET_UNUSED(sasd);
+
if ((ev = eq_noseeum_dequeue(audio_job_queue(aj))) == NULL) {
SXE_MUTEX_UNLOCK(&aj->mtx);
return;
if ((ev = eq_noseeum_dequeue(audio_job_queue(aj))) == NULL) {
SXE_MUTEX_UNLOCK(&aj->mtx);
return;
SXE_MUTEX_LOCK(&aj->mtx);
sasd = audio_job_device_data(aj);
SXE_MUTEX_LOCK(&aj->mtx);
sasd = audio_job_device_data(aj);
+ SXE_SET_UNUSED(sasd);
+
if ((ev = eq_noseeum_dequeue(audio_job_queue(aj))) == NULL) {
SXE_MUTEX_UNLOCK(&aj->mtx);
return;
if ((ev = eq_noseeum_dequeue(audio_job_queue(aj))) == NULL) {
SXE_MUTEX_UNLOCK(&aj->mtx);
return;
SXE_MUTEX_LOCK(&aj->mtx);
sasd = audio_job_device_data(aj);
SXE_MUTEX_LOCK(&aj->mtx);
sasd = audio_job_device_data(aj);
+ SXE_SET_UNUSED(sasd);
+
if ((ev = eq_noseeum_dequeue(audio_job_queue(aj))) == NULL) {
SXE_MUTEX_UNLOCK(&aj->mtx);
return;
if ((ev = eq_noseeum_dequeue(audio_job_queue(aj))) == NULL) {
SXE_MUTEX_UNLOCK(&aj->mtx);
return;
aj = userdata;
SXE_MUTEX_LOCK(&aj->mtx);
mss = aj->substream;
aj = userdata;
SXE_MUTEX_LOCK(&aj->mtx);
mss = aj->substream;
sjsd = audio_job_device_data(aj);
buffer = aj->buffer;
sjsd = audio_job_device_data(aj);
buffer = aj->buffer;
+ SXE_SET_UNUSED(buffer);
#ifdef EF_USE_ASYNEQ
/* stuff on the event queue? */
#ifdef EF_USE_ASYNEQ
/* stuff on the event queue? */
SXE_MUTEX_LOCK(&aj->mtx);
sasd = audio_job_device_data(aj);
SXE_MUTEX_LOCK(&aj->mtx);
sasd = audio_job_device_data(aj);
+ SXE_SET_UNUSED(sasd);
+
if ((ev = eq_noseeum_dequeue(audio_job_queue(aj))) == NULL) {
SXE_MUTEX_UNLOCK(&aj->mtx);
return;
if ((ev = eq_noseeum_dequeue(audio_job_queue(aj))) == NULL) {
SXE_MUTEX_UNLOCK(&aj->mtx);
return;
/* Checks that aliasee names a coding-system */
real_coding_system = Fget_coding_system(aliasee);
/* Checks that aliasee names a coding-system */
real_coding_system = Fget_coding_system(aliasee);
+ SXE_SET_UNUSED(real_coding_system);
/* Check for coding system alias loops */
if (EQ(alias, aliasee))
/* Check for coding system alias loops */
if (EQ(alias, aliasee))
+#include "sxe-utils.h"
+
/* The `emacs' switch turns on certain matching commands
that make sense only in Emacs. */
#ifdef emacs
/* The `emacs' switch turns on certain matching commands
that make sense only in Emacs. */
#ifdef emacs
dummy_low_reg, dummy_high_reg,
reg_dummy, reg_dummy,
reg_info_dummy);
dummy_low_reg, dummy_high_reg,
reg_dummy, reg_dummy,
reg_info_dummy);
+ SXE_SET_UNUSED(pdummy), SXE_SET_UNUSED(sdummy);
}
/* Note fall through. */
}
/* Note fall through. */
input_fd = CONSOLE_TTY_DATA(con)->infd;
output_fd = CONSOLE_TTY_DATA(con)->outfd;
input_fd = CONSOLE_TTY_DATA(con)->infd;
output_fd = CONSOLE_TTY_DATA(con)->outfd;
+ SXE_SET_UNUSED(output_fd);
emacs_get_tty(input_fd, &CONSOLE_TTY_DATA(con)->old_tty);
tty = CONSOLE_TTY_DATA(con)->old_tty;
emacs_get_tty(input_fd, &CONSOLE_TTY_DATA(con)->old_tty);
tty = CONSOLE_TTY_DATA(con)->old_tty;
input_fd = CONSOLE_TTY_DATA(con)->infd;
output_fd = CONSOLE_TTY_DATA(con)->outfd;
input_fd = CONSOLE_TTY_DATA(con)->infd;
output_fd = CONSOLE_TTY_DATA(con)->outfd;
+ SXE_SET_UNUSED(output_fd);
#if defined (IBMR2AIX) && defined (AIXHFT)
{
#if defined (IBMR2AIX) && defined (AIXHFT)
{
#include "ui/X11/xmu.h"
#include "xlwcheckboxP.h"
#include "ui/X11/xmu.h"
#include "xlwcheckboxP.h"
+#include "sxe-utils.h"
+
/* by using the same size for the checkbox as for the diamond box,
* we can let the Radio widget do the vast majority of the work.
*/
/* by using the same size for the checkbox as for the diamond box,
* we can let the Radio widget do the vast majority of the work.
*/
pts[5].y = -s;
XFillPolygon(dpy, win, bot, pts, 6, Nonconvex, CoordModePrevious);
#else
pts[5].y = -s;
XFillPolygon(dpy, win, bot, pts, 6, Nonconvex, CoordModePrevious);
#else
XDrawRectangle(dpy, win, gc, bx + s, by + s, bsz, bsz);
#endif
XDrawRectangle(dpy, win, gc, bx + s, by + s, bsz, bsz);
#endif
/* if the gauge is selected, signify by drawing the background
* in a contrasting color.
*/
/* if the gauge is selected, signify by drawing the background
* in a contrasting color.
*/