diff --git a/src/add-ons/media/media-add-ons/writer/MediaWriter.cpp b/src/add-ons/media/media-add-ons/writer/MediaWriter.cpp index 05e5f3e21d..0730cc089b 100644 --- a/src/add-ons/media/media-add-ons/writer/MediaWriter.cpp +++ b/src/add-ons/media/media-add-ons/writer/MediaWriter.cpp @@ -504,11 +504,10 @@ status_t MediaWriter::HandleBuffer( bool realTimeEvent = false) { fprintf(stderr,"MediaWriter::HandleBuffer\n"); - status_t status = B_OK; BBuffer * buffer = const_cast((BBuffer*)event->pointer); WriteFileBuffer(buffer); buffer->Recycle(); - return status; + return B_OK; } status_t MediaWriter::HandleDataStatus(