small code cleanup for CastSink
This commit is contained in:
parent
3fbfd0f03d
commit
9753bb3478
|
@ -290,11 +290,10 @@ class CastSink : public Sink, public virtual Reporter
|
||||||
inline virtual bool
|
inline virtual bool
|
||||||
isOpen ( void ) const throw ()
|
isOpen ( void ) const throw ()
|
||||||
{
|
{
|
||||||
Sink *s = getSink();
|
if( !getSink() ) {
|
||||||
if (s)
|
return false;
|
||||||
return getSink()->isOpen();
|
}
|
||||||
else
|
return getSink()->isOpen();
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue