Comment out/ifdef out unused code and variables.

This commit is contained in:
Francois Gouget 2002-01-21 23:37:53 +00:00 committed by Alexandre Julliard
parent 4589a07499
commit 5f30ee0651
5 changed files with 33 additions and 17 deletions

View file

@ -815,8 +815,10 @@ int is_OpenGL_dx3(REFCLSID rguid, IDirectDrawSurfaceImpl* surface, IDirect3DDevi
{
if (!memcmp(&IID_D3DDEVICE_OpenGL,rguid,sizeof(IID_D3DDEVICE_OpenGL))) {
mesa_d3dd_private *odev;
#if 0 /* See below */
int attributeList[]={ GLX_RGBA, GLX_DEPTH_SIZE, 16, GLX_DOUBLEBUFFER, None };
XVisualInfo *xvis;
#endif
*device = HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,sizeof(IDirect3DDeviceImpl));
(*device)->private = HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,sizeof(mesa_d3dd_private));

View file

@ -195,6 +195,9 @@ err:
return hr;
}
#if 0
/* FIXME: Not used for now */
static HRESULT CAudioRendererImpl_waveOutPause( CAudioRendererImpl* This )
{
if ( !This->m_fWaveOutInit )
@ -212,6 +215,7 @@ static HRESULT CAudioRendererImpl_waveOutRun( CAudioRendererImpl* This )
return QUARTZ_HRESULT_From_MMRESULT( waveOutRestart(
This->m_hWaveOut ) );
}
#endif
static
WAVEHDR* CAudioRendererImpl_waveOutGetBuffer(
@ -296,6 +300,9 @@ HRESULT CAudioRendererImpl_waveOutFlush(
return S_OK;
}
#if 0
/* FIXME: Not used for now */
static
HRESULT CAudioRendererImpl_waveOutGetVolume(
CAudioRendererImpl* This,
@ -337,6 +344,7 @@ HRESULT CAudioRendererImpl_waveOutSetVolume(
This->m_hWaveOut, dwVol );
return QUARTZ_HRESULT_From_MMRESULT( mr );
}
#endif
/***************************************************************************
*
@ -348,7 +356,7 @@ HRESULT CAudioRendererImpl_waveOutSetVolume(
static HRESULT CAudioRendererImpl_OnActive( CBaseFilterImpl* pImpl )
{
CAudioRendererImpl_THIS(pImpl,basefilter);
HRESULT hr;
/* HRESULT hr; */
FIXME( "(%p)\n", This );

View file

@ -32,13 +32,13 @@ HRESULT QUARTZ_IMediaSample_GetProperties(
IMediaSample* pSample,
AM_SAMPLE2_PROPERTIES* pProp )
{
#if 0 /* not yet */
HRESULT hr;
AM_SAMPLE2_PROPERTIES prop;
IMediaSample2* pSample2 = NULL;
ZeroMemory( &prop, sizeof(AM_SAMPLE2_PROPERTIES) );
#if 0 /* not yet */
hr = IMediaSample_QueryInterface( pSample, &IID_IMediaSample2, (void**)&pSample2 );
if ( hr == S_OK )
{
@ -82,7 +82,9 @@ HRESULT QUARTZ_IMediaSample_SetProperties(
{
HRESULT hr;
AM_SAMPLE2_PROPERTIES prop;
#if 0 /* not yet */
IMediaSample2* pSample2 = NULL;
#endif
memcpy( &prop, pProp, sizeof(AM_SAMPLE2_PROPERTIES) );
prop.cbData = sizeof(AM_SAMPLE2_PROPERTIES);

View file

@ -200,7 +200,9 @@ DWORD WINAPI WsControl(DWORD protocoll,
*/
IFEntry *IntInfo = (IFEntry *) pResponseInfo;
char ifName[512];
#if defined(SIOCGIFHWADDR) || defined(SIOCGENADDR)
struct ifreq ifInfo;
#endif
SOCKET sock;

View file

@ -875,6 +875,7 @@ static int symbol_cmp(const void *left, const void *right)
*
* Free resources used by DLL
*/
/* FIXME: Not used yet
static void dll_close (void)
{
dll_symbol* ds;
@ -887,6 +888,7 @@ static void dll_close (void)
free (dll_symbols);
dll_symbols = NULL;
}
*/
static void do_grab_sym(void)
{