 if(ch >= MAX_CHANNELS) {return;} 
void remove_channel_layer(int ch){	int i, j, k;	int8 layer[MAX_CHANNELS];	for(k = 0; k < MAX_CHANNELS; k++)	{		j = 0;		/* remove channel layer */		if(channel[k].channel_layer != NULL) {			memcpy(layer, channel[k].channel_layer, sizeof(channel[k].channel_layer));			for(i = 0; i < MAX_CHANNELS; i++)			{				if(layer[i] == -1) {					channel[k].channel_layer[j] = -1;					break;				} else if(layer[i] != ch) {					channel[k].channel_layer[j] = layer[i];					j++;				}			}		}	}}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/a8bbef53d53be7361bcc8743932fd7879d07f0af/readmidi.c/clean/timidity/readmidi.c