]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/midi.c
use glyph indexing for glyph name .notdef
[lilypond.git] / python / midi.c
index ef6c7af810455d315e2e059c552e37f0c05a7b12..f80a469380e87748ffcbfe0a4b92c4947dbe5816 100644 (file)
@@ -332,8 +332,6 @@ pymidi_parse_track (PyObject *self, PyObject *args)
   unsigned char *track, *track_end;
   unsigned long track_size;
 
-  PyObject * sobj = PyTuple_GetItem (args, 0);
-
   debug_print ("%s", "\n");
   if (!PyArg_ParseTuple (args, "s#", &track, &track_size))
     return 0;
@@ -394,8 +392,6 @@ pymidi_parse (PyObject *self, PyObject *args)
   unsigned char *midi, *midi_end;
   unsigned long midi_size;
   
-  PyObject *sobj = PyTuple_GetItem (args, 0);
-
   debug_print ("%s", "\n");
   if (!PyArg_ParseTuple (args, "s#", &midi, &midi_size))
     return 0;
@@ -430,5 +426,10 @@ initmidi (void)
   add_constants (d);
   Midi_warning = PyString_FromString ("midi.warning");
   PyDict_SetItemString (d, "warning", Midi_warning);
+
+  /*
+    FIXME.
+   */
+  (void) midi_warning;
 }