~hp/patchmatrix

ed70347f4a75b83e37cfb31a76b40843fbe6705b — Hanspeter Portner 6 months ago dde6ba2
Fix compiler warnings
4 files changed, 7 insertions(+), 5 deletions(-)

M meson.build
M meson_options.txt
M src/patchmatrix_db.c
M src/patchmatrix_nk.c
M meson.build => meson.build +3 -1
@@ 64,7 64,9 @@ c_args = [
  '-fvisibility=hidden',
	'-ffast-math',
	'-Wno-unused-parameter',
	'-Wno-unused-function']
	'-Wno-unused-function',
	'-Wno-unknown-warning-option',
	'-Wno-null-pointer-subtraction']

dsp_srcs = [
	join_paths('src', 'patchmatrix.c'),

M meson_options.txt => meson_options.txt +1 -1
@@ 5,4 5,4 @@ option('build-tests',
	type : 'boolean',
	value : true)

option('version', type : 'string', value : '0.27.39')
option('version', type : 'string', value : '0.27.41')

M src/patchmatrix_db.c => src/patchmatrix_db.c +2 -2
@@ 726,7 726,7 @@ _port_find_by_body(app_t *app, jack_port_t *body)
void
_mixer_spawn(app_t *app, unsigned nsinks, unsigned nsources)
{
	pthread_t pid = vfork();
	pid_t pid = vfork();
	if(pid == 0) // child
	{
		char sink_nums[32];


@@ 786,7 786,7 @@ _mixer_free(mixer_shm_t *mixer_shm)
void
_monitor_spawn(app_t *app, unsigned nsinks)
{
	pthread_t pid = vfork();
	pid_t pid = vfork();
	if(pid == 0) // child
	{
		char sink_nums [32];

M src/patchmatrix_nk.c => src/patchmatrix_nk.c +1 -1
@@ 1274,7 1274,7 @@ _get_path(const char *data_dir, const char *fn)
}

static const char *
_get_data_dir()
_get_data_dir(void)
{
	// check whether build-time defined data dir exists
	DIR *dir = opendir(PATCHMATRIX_DATA_DIR);