mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Compile cleanly with clang.
To compile Ardour with LLVM/clang, do the usual thing but set the CXX and CC environment variables, e.g.: CC=/usr/bin/clang CXX=/usr/bin/clang++ ./waf configure build git-svn-id: svn://localhost/ardour2/branches/3.0@12418 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
effe4de188
commit
27a1cf2cf7
46 changed files with 115 additions and 99 deletions
|
|
@ -180,7 +180,6 @@ 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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue