src/sndfile.c : Remove un-needed test (always true).

This commit is contained in:
Erik de Castro Lopo 2009-02-22 17:04:26 +11:00
parent 7d59a41550
commit d094000da2
2 changed files with 3 additions and 3 deletions

View File

@ -28,6 +28,9 @@
* src/sd2.c
Improve handling of heap allocated buffer.
* src/sndfile.c
Remove un-needed test (always true).
2009-02-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/sd2.c

View File

@ -2158,9 +2158,6 @@ format_from_extension (SF_PRIVATE *psf)
char buffer [16] ;
int format = 0 ;
if (psf->filename == NULL)
return 0 ;
if ((cptr = strrchr (psf->filename, '.')) == NULL)
return 0 ;