Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18184
Modified Files: Tag: devel_0_39 m_pd.c m_sched.c Log Message: fixed warnings
Index: m_pd.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/m_pd.c,v retrieving revision 1.3.8.2 retrieving revision 1.3.8.3 diff -C2 -d -r1.3.8.2 -r1.3.8.3 *** m_pd.c 7 Oct 2005 15:02:52 -0000 1.3.8.2 --- m_pd.c 27 Nov 2005 23:14:53 -0000 1.3.8.3 *************** *** 165,169 **** freebytes(e, sizeof(t_bindelem)); } ! else for (e = b->b_list; e2 = e->e_next; e = e2) if (e2->e_who == x) { --- 165,169 ---- freebytes(e, sizeof(t_bindelem)); } ! else for (e = b->b_list; (e2 = e->e_next); e = e2) if (e2->e_who == x) { *************** *** 193,197 **** { t_bindlist *b = (t_bindlist *)s->s_thing; ! t_bindelem *e, *e2; int warned = 0; for (e = b->b_list; e; e = e->e_next) --- 193,197 ---- { t_bindlist *b = (t_bindlist *)s->s_thing; ! t_bindelem *e; int warned = 0; for (e = b->b_list; e; e = e->e_next)
Index: m_sched.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/m_sched.c,v retrieving revision 1.5.4.35.2.7 retrieving revision 1.5.4.35.2.8 diff -C2 -d -r1.5.4.35.2.7 -r1.5.4.35.2.8 *** m_sched.c 6 Nov 2005 21:11:17 -0000 1.5.4.35.2.7 --- m_sched.c 27 Nov 2005 23:14:53 -0000 1.5.4.35.2.8 *************** *** 195,199 **** int sys_addhist(int phase) { ! int i, j, phasewas = sys_histphase; double newtime = sys_getrealtime(); int msec = (newtime - sys_histtime) * 1000.; --- 195,199 ---- int sys_addhist(int phase) { ! int j, phasewas = sys_histphase; double newtime = sys_getrealtime(); int msec = (newtime - sys_histtime) * 1000.; *************** *** 236,240 **** void glob_audiostatus(void) { ! int dev, nresync, nresyncphase, i; nresync = (oss_nresync >= NRESYNC ? NRESYNC : oss_nresync); nresyncphase = oss_resyncphase - 1; --- 236,240 ---- void glob_audiostatus(void) { ! int nresync, nresyncphase, i; nresync = (oss_nresync >= NRESYNC ? NRESYNC : oss_nresync); nresyncphase = oss_resyncphase - 1; *************** *** 506,511 **** while(sys_keepsched) { - int didsomething = 0; - /* tb: allow the audio callback to run */ sys_unlock(); --- 506,509 ---- *************** *** 710,714 ****
/* append idle callback to ringbuffer */ ! while (new_callback = (t_sched_callback*) fifo_get(callback_fifo)) { t_sched_callback * next; --- 708,712 ----
/* append idle callback to ringbuffer */ ! while ((new_callback = (t_sched_callback*) fifo_get(callback_fifo))) { t_sched_callback * next;