libsndfile: fix build with -Werror
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11529 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
f8aec8bb57
commit
ca40442580
|
@ -488,7 +488,7 @@ sf_error (SNDFILE *sndfile)
|
|||
{ SF_PRIVATE *psf ;
|
||||
|
||||
if (sndfile == NULL)
|
||||
{ if (sf_error != 0)
|
||||
{ if (sf_errno != 0)
|
||||
return sf_errno ;
|
||||
return 0 ;
|
||||
} ;
|
||||
|
|
Loading…
Reference in New Issue