diff options
author | David Robillard <d@drobilla.net> | 2012-05-24 02:54:10 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-24 02:54:10 +0000 |
commit | 27a1cf2cf73703267cac5bda2acca386afb374b3 (patch) | |
tree | 122ceba55fef1d183d1b32dca1fd60ffdc113112 /libs/evoral/src/libsmf | |
parent | effe4de1889bfefba6550dff4244e06c2c7261bd (diff) |
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
Diffstat (limited to 'libs/evoral/src/libsmf')
-rw-r--r-- | libs/evoral/src/libsmf/smf_save.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/evoral/src/libsmf/smf_save.c b/libs/evoral/src/libsmf/smf_save.c index 0540232707..b99af75461 100644 --- a/libs/evoral/src/libsmf/smf_save.c +++ b/libs/evoral/src/libsmf/smf_save.c @@ -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); |