mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-13 10:06:33 +01:00
Fix libsndfile warning (useless conditional).
git-svn-id: svn://localhost/ardour2/branches/3.0@3004 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
22682d448a
commit
e76b028ffd
1 changed files with 1 additions and 3 deletions
|
|
@ -488,9 +488,7 @@ sf_error (SNDFILE *sndfile)
|
|||
{ SF_PRIVATE *psf ;
|
||||
|
||||
if (! sndfile)
|
||||
{ if (sf_error != 0)
|
||||
return sf_errno ;
|
||||
return 0 ;
|
||||
{ return sf_errno ;
|
||||
} ;
|
||||
|
||||
VALIDATE_SNDFILE_AND_ASSIGN_PSF (sndfile, psf, 0) ;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue