[vlc-commits] BDA: unused variable
Rémi Denis-Courmont
git at videolan.org
Sun Jun 26 16:49:54 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jun 26 17:39:42 2011 +0300| [5a9f4ce55e1b509b28b395a003e644688484744d] | committer: Rémi Denis-Courmont
BDA: unused variable
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5a9f4ce55e1b509b28b395a003e644688484744d
---
modules/access/dtv/bdagraph.cpp | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/modules/access/dtv/bdagraph.cpp b/modules/access/dtv/bdagraph.cpp
index 23ab96a..3a156bf 100644
--- a/modules/access/dtv/bdagraph.cpp
+++ b/modules/access/dtv/bdagraph.cpp
@@ -1900,10 +1900,8 @@ STDMETHODIMP BDAGraph::BufferCB( double /*date*/, BYTE* /*buffer*/,
******************************************************************************/
HRESULT BDAGraph::Destroy()
{
- HRESULT hr = S_OK;
-
if( p_media_control )
- hr = p_media_control->StopWhenReady(); /* Instead of Stop() */
+ p_media_control->StopWhenReady(); /* Instead of Stop() */
if( d_graph_register )
{
More information about the vlc-commits
mailing list