Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26227
Modified Files: Tag: impd_0_37 m_atom.c m_binbuf.c m_class.c m_obj.c m_pd.c m_sched.c Log Message: removed warnings
Index: m_class.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/m_class.c,v retrieving revision 1.1.1.2.2.2.2.1 retrieving revision 1.1.1.2.2.2.2.2 diff -C2 -d -r1.1.1.2.2.2.2.1 -r1.1.1.2.2.2.2.2 *** m_class.c 22 Feb 2004 05:23:52 -0000 1.1.1.2.2.2.2.1 --- m_class.c 1 May 2004 01:44:00 -0000 1.1.1.2.2.2.2.2 *************** *** 656,660 **** void pd_typedmess(t_pd *x, t_symbol *s, int argc, t_atom *argv) { - t_method *f; t_class *c = *x; t_methodentry *m; --- 656,659 ----
Index: m_binbuf.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/m_binbuf.c,v retrieving revision 1.1.1.4.2.4.2.1 retrieving revision 1.1.1.4.2.4.2.2 diff -C2 -d -r1.1.1.4.2.4.2.1 -r1.1.1.4.2.4.2.2 *** m_binbuf.c 5 Mar 2004 18:28:42 -0000 1.1.1.4.2.4.2.1 --- m_binbuf.c 1 May 2004 01:44:00 -0000 1.1.1.4.2.4.2.2 *************** *** 77,81 **** while (1) { - int type; /* skip leading space */ while ((textp != etext) && (*textp == ' ' || *textp == '\n' --- 77,80 ---- *************** *** 1170,1179 **** *a2 = &searchbuf->b_vec[nmatched]; if (a1->a_type != a2->a_type || ! a1->a_type == A_SYMBOL && a1->a_w.w_symbol != a2->a_w.w_symbol ! || ! a1->a_type == A_FLOAT && a1->a_w.w_float != a2->a_w.w_float ! || ! a1->a_type == A_DOLLAR && a1->a_w.w_index != a2->a_w.w_index ! || a1->a_type == A_DOLLSYM && a1->a_w.w_symbol != a2->a_w.w_symbol) goto nomatch; --- 1169,1175 ---- *a2 = &searchbuf->b_vec[nmatched]; if (a1->a_type != a2->a_type || ! a1->a_type == A_SYMBOL && a1->a_w.w_symbol != a2->a_w.w_symbol || ! a1->a_type == A_FLOAT && a1->a_w.w_float != a2->a_w.w_float || ! a1->a_type == A_DOLLAR && a1->a_w.w_index != a2->a_w.w_index || a1->a_type == A_DOLLSYM && a1->a_w.w_symbol != a2->a_w.w_symbol) goto nomatch;
Index: m_sched.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/m_sched.c,v retrieving revision 1.1.1.2.2.7.2.4 retrieving revision 1.1.1.2.2.7.2.5 diff -C2 -d -r1.1.1.2.2.7.2.4 -r1.1.1.2.2.7.2.5 *** m_sched.c 17 Apr 2004 21:17:31 -0000 1.1.1.2.2.7.2.4 --- m_sched.c 1 May 2004 01:44:00 -0000 1.1.1.2.2.7.2.5 *************** *** 177,181 **** int sys_addhist(int phase) { ! int i, j, phasewas = sys_histphase; double newtime = sys_getrealtime(); int msec = (newtime - sys_histtime) * 1000.; --- 177,181 ---- int sys_addhist(int phase) { ! int j, phasewas = sys_histphase; double newtime = sys_getrealtime(); int msec = (newtime - sys_histtime) * 1000.; *************** *** 216,220 **** void glob_audiostatus(void) { ! int dev, nresync, nresyncphase, i; nresync = (oss_nresync >= NRESYNC ? NRESYNC : oss_nresync); nresyncphase = oss_resyncphase - 1; --- 216,220 ---- void glob_audiostatus(void) { ! int nresync, nresyncphase, i; nresync = (oss_nresync >= NRESYNC ? NRESYNC : oss_nresync); nresyncphase = oss_resyncphase - 1; *************** *** 311,314 **** --- 311,315 ---- } sched_nextmeterpolltime = sched_diddsp + 43; + /* was: sched_diddsp + (int)(sys_dacsr / 16 / (double)sys_schedblocksize) */ }
Index: m_atom.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/m_atom.c,v retrieving revision 1.1.1.2.2.3 retrieving revision 1.1.1.2.2.3.2.1 diff -C2 -d -r1.1.1.2.2.3 -r1.1.1.2.2.3.2.1 *** m_atom.c 12 Sep 2003 20:55:31 -0000 1.1.1.2.2.3 --- m_atom.c 1 May 2004 01:43:59 -0000 1.1.1.2.2.3.2.1 *************** *** 24,28 **** t_symbol *atom_getsymbol(t_atom *a) /* LATER think about this more carefully */ { - char buf[30]; if (a->a_type == A_SYMBOL) return (a->a_w.w_symbol); else return (&s_float); --- 24,27 ----
Index: m_pd.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/m_pd.c,v retrieving revision 1.1.1.2.2.1 retrieving revision 1.1.1.2.2.1.2.1 diff -C2 -d -r1.1.1.2.2.1 -r1.1.1.2.2.1.2.1 *** m_pd.c 12 Sep 2003 20:58:08 -0000 1.1.1.2.2.1 --- m_pd.c 1 May 2004 01:44:00 -0000 1.1.1.2.2.1.2.1 *************** *** 182,186 **** }
! void zz(void) {}
t_pd *pd_findbyclass(t_symbol *s, t_class *c) --- 182,187 ---- }
! /* what is this for??? */ ! static void zz(void) {}
t_pd *pd_findbyclass(t_symbol *s, t_class *c) *************** *** 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) --- 194,198 ---- { 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_obj.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/m_obj.c,v retrieving revision 1.1.1.3.2.4 retrieving revision 1.1.1.3.2.4.2.1 diff -C2 -d -r1.1.1.3.2.4 -r1.1.1.3.2.4.2.1 *** m_obj.c 11 Dec 2003 13:41:43 -0000 1.1.1.3.2.4 --- m_obj.c 1 May 2004 01:44:00 -0000 1.1.1.3.2.4.2.1 *************** *** 139,143 **** static void inlet_list(t_inlet *x, t_symbol *s, int argc, t_atom *argv) { - t_atom at; if (x->i_symfrom == &s_list || x->i_symfrom == &s_float || x->i_symfrom == &s_symbol || x->i_symfrom == &s_pointer) --- 139,142 ----