From fa96039f9c477d1346f7afc6cc8b887cd366b86d Mon Sep 17 00:00:00 2001 From: shatty Date: Sun, 21 Nov 2004 03:43:15 +0000 Subject: [PATCH] address compiler warnings git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10076 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/media/MediaFile.cpp | 2 ++ src/kits/media/MediaFiles.cpp | 4 ++-- src/kits/media/MediaTrack.cpp | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/kits/media/MediaFile.cpp b/src/kits/media/MediaFile.cpp index c339fb80a0..0eb1cd3b76 100644 --- a/src/kits/media/MediaFile.cpp +++ b/src/kits/media/MediaFile.cpp @@ -105,6 +105,7 @@ status_t BMediaFile::SetTo(const entry_ref *ref) { debugger("BMediaFile::SetTo not implemented"); + return B_OK; } @@ -112,6 +113,7 @@ status_t BMediaFile::SetTo(BDataIO *destination) { debugger("BMediaFile::SetTo not implemented"); + return B_OK; } diff --git a/src/kits/media/MediaFiles.cpp b/src/kits/media/MediaFiles.cpp index e7475c0863..b9077d8a35 100644 --- a/src/kits/media/MediaFiles.cpp +++ b/src/kits/media/MediaFiles.cpp @@ -38,7 +38,7 @@ BMediaFiles::RewindTypes() server_rewindtypes_reply reply; for(int32 i = 0; i < m_types.CountItems(); i++) - delete m_types.ItemAt(i); + delete (BString*)m_types.ItemAt(i); m_types.MakeEmpty(); @@ -98,7 +98,7 @@ BMediaFiles::RewindRefs(const char *type) server_rewindrefs_reply reply; for(int32 i = 0; i < m_items.CountItems(); i++) - delete m_items.ItemAt(i); + delete (BString*)m_items.ItemAt(i); m_items.MakeEmpty(); diff --git a/src/kits/media/MediaTrack.cpp b/src/kits/media/MediaTrack.cpp index 0dfeeb37a9..95a4e3492f 100644 --- a/src/kits/media/MediaTrack.cpp +++ b/src/kits/media/MediaTrack.cpp @@ -546,6 +546,9 @@ BMediaTrack::Web() status_t BMediaTrack::GetParameterWeb(BParameterWeb** outWeb) { + UNIMPLEMENTED(); + + return B_OK; }