[PD-cvs] pd/src x_connective.c, 1.3.4.1.2.6, 1.3.4.1.2.7 x_gui.c, 1.3.4.1.2.3, 1.3.4.1.2.4 x_interface.c, 1.2, 1.2.8.1 x_list.c, 1.2.2.5, 1.2.2.6 x_midi.c, 1.2, 1.2.8.1 x_net.c, 1.2.4.2, 1.2.4.2.2.1 x_qlist.c, 1.2.8.1, 1.2.8.2

Mathieu Bouchard matju at users.sourceforge.net
Sun Nov 27 08:57:13 CET 2005


Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6199

Modified Files:
      Tag: devel_0_39
	x_connective.c x_gui.c x_interface.c x_list.c x_midi.c x_net.c 
	x_qlist.c 
Log Message:
fixed warnings


Index: x_qlist.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/x_qlist.c,v
retrieving revision 1.2.8.1
retrieving revision 1.2.8.2
diff -C2 -d -r1.2.8.1 -r1.2.8.2
*** x_qlist.c	28 Oct 2005 12:17:11 -0000	1.2.8.1
--- x_qlist.c	27 Nov 2005 07:57:10 -0000	1.2.8.2
***************
*** 33,37 ****
  static void *qlist_new( void)
  {
-     t_symbol *name, *filename = 0;
      t_qlist *x = (t_qlist *)pd_new(qlist_class);
      x->x_binbuf = binbuf_new();
--- 33,36 ----
***************
*** 240,244 ****
  static void *textfile_new( void)
  {
-     t_symbol *name, *filename = 0;
      t_textfile *x = (t_textfile *)pd_new(textfile_class);
      x->x_binbuf = binbuf_new();
--- 239,242 ----
***************
*** 257,262 ****
  static void textfile_bang(t_textfile *x)
  {
!     int argc = binbuf_getnatom(x->x_binbuf),
!         count, onset = x->x_onset, onset2;
      t_atom *argv = binbuf_getvec(x->x_binbuf);
      t_atom *ap = argv + onset, *ap2;
--- 255,259 ----
  static void textfile_bang(t_textfile *x)
  {
!     int argc = binbuf_getnatom(x->x_binbuf), onset = x->x_onset, onset2;
      t_atom *argv = binbuf_getvec(x->x_binbuf);
      t_atom *ap = argv + onset, *ap2;

Index: x_net.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/x_net.c,v
retrieving revision 1.2.4.2
retrieving revision 1.2.4.2.2.1
diff -C2 -d -r1.2.4.2 -r1.2.4.2.2.1
*** x_net.c	11 Jan 2005 21:41:15 -0000	1.2.4.2
--- x_net.c	27 Nov 2005 07:57:10 -0000	1.2.4.2.2.1
***************
*** 201,205 ****
  static void netreceive_doit(void *z, t_binbuf *b)
  {
-     t_atom messbuf[1024];
      t_netreceive *x = (t_netreceive *)z;
      int msg, natom = binbuf_getnatom(b);
--- 201,204 ----

Index: x_interface.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/x_interface.c,v
retrieving revision 1.2
retrieving revision 1.2.8.1
diff -C2 -d -r1.2 -r1.2.8.1
*** x_interface.c	6 Sep 2004 20:20:36 -0000	1.2
--- x_interface.c	27 Nov 2005 07:57:10 -0000	1.2.8.1
***************
*** 41,46 ****
  static void print_list(t_print *x, t_symbol *s, int argc, t_atom *argv)
  {
-     int i;
-     char buf[80];
      if (argc && argv->a_type != A_SYMBOL) startpost("%s:", x->x_sym->s_name);
      else startpost("%s: %s", x->x_sym->s_name,
--- 41,44 ----
***************
*** 53,58 ****
  static void print_anything(t_print *x, t_symbol *s, int argc, t_atom *argv)
  {
-     int i;
-     char buf[80];
      startpost("%s: %s", x->x_sym->s_name, s->s_name);
      postatom(argc, argv);
--- 51,54 ----

Index: x_midi.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/x_midi.c,v
retrieving revision 1.2
retrieving revision 1.2.8.1
diff -C2 -d -r1.2 -r1.2.8.1
*** x_midi.c	6 Sep 2004 20:20:36 -0000	1.2
--- x_midi.c	27 Nov 2005 07:57:10 -0000	1.2.8.1
***************
*** 571,575 ****
      static float prev = 0;
      static float count = 0;
!     float cur,diff;
  
      if (midiclkin_sym->s_thing)
--- 571,575 ----
      static float prev = 0;
      static float count = 0;
!     float diff;
  
      if (midiclkin_sym->s_thing)
***************
*** 962,966 ****
      outlet_float(x->x_pitchout, hang->h_pitch);
      if (x->x_hang == hang) x->x_hang = hang->h_next;
!     else for (h2 = x->x_hang; h3 = h2->h_next; h2 = h3)
      {
          if (h3 == hang)
--- 962,966 ----
      outlet_float(x->x_pitchout, hang->h_pitch);
      if (x->x_hang == hang) x->x_hang = hang->h_next;
!     else for (h2 = x->x_hang; (h3 = h2->h_next); h2 = h3)
      {
          if (h3 == hang)
***************
*** 992,996 ****
  {
      t_hang *hang;
!     while (hang = x->x_hang)
      {
          outlet_float(x->x_velout, 0);
--- 992,996 ----
  {
      t_hang *hang;
!     while ((hang = x->x_hang))
      {
          outlet_float(x->x_velout, 0);
***************
*** 1005,1009 ****
  {
      t_hang *hang;
!     while (hang = x->x_hang)
      {
          x->x_hang = hang->h_next;
--- 1005,1009 ----
  {
      t_hang *hang;
!     while ((hang = x->x_hang))
      {
          x->x_hang = hang->h_next;
***************
*** 1048,1052 ****
  static void stripnote_float(t_stripnote *x, t_float f)
  {
-     t_hang *hang;
      if (!x->x_velo) return;
      outlet_float(x->x_velout, x->x_velo);
--- 1048,1051 ----
***************
*** 1233,1237 ****
          else    /* LATER replace with a faster algorithm */
          {
!             for (e2 = x->x_first; e3 = e2->e_next; e2 = e3)
                  ;
              e2->e_next = bagelem;
--- 1232,1236 ----
          else    /* LATER replace with a faster algorithm */
          {
!             for (e2 = x->x_first; (e3 = e2->e_next); e2 = e3)
                  ;
              e2->e_next = bagelem;
***************
*** 1248,1252 ****
              return;
          }
!         for (e2 = x->x_first; e3 = e2->e_next; e2 = e3)
              if (e3->e_value == f)
          {
--- 1247,1251 ----
              return;
          }
!         for (e2 = x->x_first; (e3 = e2->e_next); e2 = e3)
              if (e3->e_value == f)
          {
***************
*** 1261,1265 ****
  {
      t_bagelem *bagelem;
!     while (bagelem = x->x_first)
      {
          outlet_float(x->x_obj.ob_outlet, bagelem->e_value);
--- 1260,1264 ----
  {
      t_bagelem *bagelem;
!     while ((bagelem = x->x_first))
      {
          outlet_float(x->x_obj.ob_outlet, bagelem->e_value);
***************
*** 1272,1276 ****
  {
      t_bagelem *bagelem;
!     while (bagelem = x->x_first)
      {
          x->x_first = bagelem->e_next;
--- 1271,1275 ----
  {
      t_bagelem *bagelem;
!     while ((bagelem = x->x_first))
      {
          x->x_first = bagelem->e_next;

Index: x_list.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/x_list.c,v
retrieving revision 1.2.2.5
retrieving revision 1.2.2.6
diff -C2 -d -r1.2.2.5 -r1.2.2.6
*** x_list.c	28 Oct 2005 12:17:11 -0000	1.2.2.5
--- x_list.c	27 Nov 2005 07:57:10 -0000	1.2.2.6
***************
*** 196,200 ****
  {
      t_atom *outv;
!     int n, outc = x->x_alist.l_n + argc;
      ATOMS_ALLOCA(outv, outc);
      atoms_copy(argc, argv, outv);
--- 196,200 ----
  {
      t_atom *outv;
!     int outc = x->x_alist.l_n + argc;
      ATOMS_ALLOCA(outv, outc);
      atoms_copy(argc, argv, outv);
***************
*** 208,212 ****
  {
      t_atom *outv;
!     int n, outc = x->x_alist.l_n + argc + 1;
      ATOMS_ALLOCA(outv, outc);
      SETSYMBOL(outv, s);
--- 208,212 ----
  {
      t_atom *outv;
!     int outc = x->x_alist.l_n + argc + 1;
      ATOMS_ALLOCA(outv, outc);
      SETSYMBOL(outv, s);
***************
*** 256,260 ****
  {
      t_atom *outv;
!     int n, outc = x->x_alist.l_n + argc;
      ATOMS_ALLOCA(outv, outc);
      alist_toatoms(&x->x_alist, outv);
--- 256,260 ----
  {
      t_atom *outv;
!     int outc = x->x_alist.l_n + argc;
      ATOMS_ALLOCA(outv, outc);
      alist_toatoms(&x->x_alist, outv);
***************
*** 268,272 ****
  {
      t_atom *outv;
!     int n, outc = x->x_alist.l_n + argc + 1;
      ATOMS_ALLOCA(outv, outc);
      alist_toatoms(&x->x_alist, outv);
--- 268,272 ----
  {
      t_atom *outv;
!     int outc = x->x_alist.l_n + argc + 1;
      ATOMS_ALLOCA(outv, outc);
      alist_toatoms(&x->x_alist, outv);

Index: x_connective.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/x_connective.c,v
retrieving revision 1.3.4.1.2.6
retrieving revision 1.3.4.1.2.7
diff -C2 -d -r1.3.4.1.2.6 -r1.3.4.1.2.7
*** x_connective.c	5 Nov 2005 13:13:43 -0000	1.3.4.1.2.6
--- x_connective.c	27 Nov 2005 07:57:10 -0000	1.3.4.1.2.7
***************
*** 136,140 ****
      always check and call the more specific method, or should it be the 
      object's responsibility?  Dunno... */
! static void pdsymbol_list(t_pdsymbol *x, t_symbol *s, int ac, t_atom *av)
  {
      if (!ac)
--- 136,140 ----
      always check and call the more specific method, or should it be the 
      object's responsibility?  Dunno... */
! /*static void pdsymbol_list(t_pdsymbol *x, t_symbol *s, int ac, t_atom *av)
  {
      if (!ac)
***************
*** 143,147 ****
          pdsymbol_symbol(x, av->a_w.w_symbol);
      else pdsymbol_anything(x, s, ac, av);
! }
  
  void pdsymbol_setup(void)
--- 143,147 ----
          pdsymbol_symbol(x, av->a_w.w_symbol);
      else pdsymbol_anything(x, s, ac, av);
! }*/
  
  void pdsymbol_setup(void)

Index: x_gui.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/x_gui.c,v
retrieving revision 1.3.4.1.2.3
retrieving revision 1.3.4.1.2.4
diff -C2 -d -r1.3.4.1.2.3 -r1.3.4.1.2.4
*** x_gui.c	28 Oct 2005 12:17:11 -0000	1.3.4.1.2.3
--- x_gui.c	27 Nov 2005 07:57:10 -0000	1.3.4.1.2.4
***************
*** 86,90 ****
      if (gfxstub_list == x)
          gfxstub_list = x->x_next;
!     else for (y1 = gfxstub_list; y2 = y1->x_next; y1 = y2)
          if (y2 == x) 
      {
--- 86,90 ----
      if (gfxstub_list == x)
          gfxstub_list = x->x_next;
!     else for (y1 = gfxstub_list; (y2 = y1->x_next); y1 = y2)
          if (y2 == x) 
      {





More information about the Pd-cvs mailing list