pa_bluetooth_profile_t p;
DBusMessage *r;
int fd;
- const char *sender, *path, *handler;
+ const char *sender, *path, PA_UNUSED *handler;
DBusMessageIter arg_i;
char *pathfd;
struct transport_rfcomm *trfc;
}
handler = dbus_message_get_path(m);
- pa_assert (pa_streq(handler, HSP_AG_PROFILE));
+ pa_assert(pa_streq(handler, HSP_AG_PROFILE));
pa_assert(dbus_message_iter_get_arg_type(&arg_i) == DBUS_TYPE_OBJECT_PATH);
dbus_message_iter_get_basic(&arg_i, &path);
}
void pa_aupdate_read_end(pa_aupdate *a) {
- unsigned n;
+ unsigned PA_UNUSED n;
pa_assert(a);
/* Called from main context */
void pa_sink_input_unlink(pa_sink_input *i) {
bool linked;
- pa_source_output *o, *p = NULL;
+ pa_source_output *o, PA_UNUSED *p = NULL;
pa_assert(i);
pa_assert_ctl_context();
}
static bool find_filter_sink_input(pa_sink_input *target, pa_sink *s) {
- int i = 0;
+ unsigned PA_UNUSED i = 0;
while (s && s->input_to_master) {
if (s->input_to_master == target)
return true;
/* Called from main context */
int pa_sink_input_start_move(pa_sink_input *i) {
- pa_source_output *o, *p = NULL;
+ pa_source_output *o, PA_UNUSED *p = NULL;
struct volume_factor_entry *v;
void *state = NULL;
int r;
/* Called from main context */
void pa_sink_unlink(pa_sink* s) {
bool linked;
- pa_sink_input *i, *j = NULL;
+ pa_sink_input *i, PA_UNUSED *j = NULL;
pa_assert(s);
pa_assert_ctl_context();
}
static bool find_filter_source_output(pa_source_output *target, pa_source *s) {
- int i = 0;
+ unsigned PA_UNUSED i = 0;
while (s && s->output_from_master) {
if (s->output_from_master == target)
return true;
/* Called from main context */
void pa_source_unlink(pa_source *s) {
bool linked;
- pa_source_output *o, *j = NULL;
+ pa_source_output *o, PA_UNUSED *j = NULL;
pa_assert(s);
pa_assert_ctl_context();
START_TEST (format_test) {
pa_format_info *f1 = NULL, *f2 = NULL;
- int rates1[] = { 32000, 44100, 48000 }, i, temp_int1 = -1, temp_int2 = -1, *temp_int_array;
+ int rates1[] = { 32000, 44100, 48000 }, i, temp_int1 = -1, PA_UNUSED temp_int2 = -1, *temp_int_array;
const char *strings[] = { "thing1", "thing2", "thing3" };
char *temp_str, **temp_str_array;