X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditorSound.cpp;h=795e97ab4e6c0dc7d09bba5e1a4fbe93aab6ce2b;hb=65e83a58c7d3e09a83f77eb897df3b73f1bae4f8;hp=cad57b3180aa7b9a6140357bd0e05c186cac6f07;hpb=e93aa9af2a9f8eaee9dcaa793c049e305b90081e;p=xestiaab%2F.git diff --git a/source/contacteditor/frmContactEditorSound.cpp b/source/contacteditor/frmContactEditorSound.cpp index cad57b3..795e97a 100644 --- a/source/contacteditor/frmContactEditorSound.cpp +++ b/source/contacteditor/frmContactEditorSound.cpp @@ -78,11 +78,9 @@ void frmContactEditorSound::ProcessData( wxCommandEvent& event ) if (AudioFile.Open(wxSAudioFilename, wxFile::read)){ - ssize_t flen; len = AudioFile.Length(); unsigned char* AudioFileData = new unsigned char[len]; - flen = AudioFile.Read(AudioFileData, (size_t)len); wxSAudioMIMEType = GetMIME(wxSAudioFilename);