projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22682d4
)
Fix libsndfile warning (useless conditional).
author
David Robillard
<d@drobilla.net>
Mon, 4 Feb 2008 00:29:54 +0000
(
00:29
+0000)
committer
David Robillard
<d@drobilla.net>
Mon, 4 Feb 2008 00:29:54 +0000
(
00:29
+0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@3004
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/libsndfile/src/sndfile.c
patch
|
blob
|
history
diff --git
a/libs/libsndfile/src/sndfile.c
b/libs/libsndfile/src/sndfile.c
index 14586526e4bc705fb9b874b0a08c406f3439ca7d..8de582fec00cb18e46a51bd5fd0367aebc2997f5 100644
(file)
--- a/
libs/libsndfile/src/sndfile.c
+++ b/
libs/libsndfile/src/sndfile.c
@@
-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) ;