13
0

Fix compile warning.

git-svn-id: svn://localhost/ardour2/branches/3.0@6950 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-04-22 01:38:47 +00:00
parent bc8a459dbe
commit 5b4b2c04e5

View File

@ -151,8 +151,10 @@ Location::set_end (nframes64_t e)
int
Location::set (nframes64_t start, nframes64_t end)
{
set_start (start);
set_end (end);
int const s = set_start (start);
int const e = set_end (end);
return (s == 0 && e == 0) ? 0 : -1;
}
int