fixes for 98% of all the warnings/errors reported by OS X gcc on tiger
[ardour.git] / libs / evoral / src / libsmf / smf_save.c
index b99af75461b094207d11d3b9f967fe0aa6d1d7db..0540232707f9366b329147051ad955241412aeb6 100644 (file)
@@ -180,6 +180,7 @@ smf_format_vlq(unsigned char *buf, int length, unsigned long value)
        }
 
        assert(i <= length);
+       length = length; // get rid of stupid gcc warnings about unused params if assert() is null
 
        /* + 1, because "i" is an offset, not a count. */
        return (i + 1);