fix some compiler warnings

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2016-02-04 22:50:43 +02:00
parent d825387f14
commit 4afb02f017
9 changed files with 1 additions and 14 deletions

View file

@ -109,9 +109,6 @@ DEFINE_int32(malloc_devmem_start, 0,
DEFINE_int32(malloc_devmem_limit, 0, DEFINE_int32(malloc_devmem_limit, 0,
"Physical memory limit location in MB for /dev/mem allocation." "Physical memory limit location in MB for /dev/mem allocation."
" Setting this to 0 means no limit."); " Setting this to 0 means no limit.");
#else
static const int32_t FLAGS_malloc_devmem_start = 0;
static const int32_t FLAGS_malloc_devmem_limit = 0;
#endif #endif
#if HAVE(SBRK) #if HAVE(SBRK)

View file

@ -101,7 +101,6 @@ private:
int length; int length;
int pos; int pos;
uint freePrivate : 1; uint freePrivate : 1;
uint unused : 31;
QTextBoundaryFinderPrivate *d; QTextBoundaryFinderPrivate *d;
}; };

View file

@ -105,7 +105,6 @@ private:
ErrorType code; ErrorType code;
QString msg; QString msg;
QString nm; QString nm;
void *unused;
}; };
#ifndef QT_NO_DEBUG_STREAM #ifndef QT_NO_DEBUG_STREAM

View file

@ -123,10 +123,7 @@ private:
void *m_data; void *m_data;
int m_index_data_offset; int m_index_data_offset;
void *m_reserved_pointer;
uint m_owns_data : 1; uint m_owns_data : 1;
uint m_reserved_bits : 31;
float m_prealloc[16]; float m_prealloc[16];
}; };

View file

@ -79,8 +79,6 @@ ShaderEffectSource::ShaderEffectSource(QDeclarativeItem *parent)
, m_refs(0) , m_refs(0)
, m_dirtyTexture(true) , m_dirtyTexture(true)
, m_dirtySceneGraph(true) , m_dirtySceneGraph(true)
, m_multisamplingSupported(false)
, m_checkedForMultisamplingSupport(false)
, m_live(true) , m_live(true)
, m_hideSource(false) , m_hideSource(false)
, m_mirrored(false) , m_mirrored(false)

View file

@ -145,8 +145,6 @@ private:
int m_refs; int m_refs;
bool m_dirtyTexture : 1; bool m_dirtyTexture : 1;
bool m_dirtySceneGraph : 1; bool m_dirtySceneGraph : 1;
bool m_multisamplingSupported : 1;
bool m_checkedForMultisamplingSupport : 1;
bool m_live : 1; bool m_live : 1;
bool m_hideSource : 1; bool m_hideSource : 1;
bool m_mirrored : 1; bool m_mirrored : 1;

View file

@ -135,7 +135,6 @@ private:
snd_async_handler_t* ahandler; snd_async_handler_t* ahandler;
snd_pcm_access_t access; snd_pcm_access_t access;
snd_pcm_format_t pcmformat; snd_pcm_format_t pcmformat;
snd_timestamp_t* timestamp;
snd_pcm_hw_params_t *hwparams; snd_pcm_hw_params_t *hwparams;
}; };

View file

@ -142,7 +142,6 @@ private:
snd_async_handler_t* ahandler; snd_async_handler_t* ahandler;
snd_pcm_access_t access; snd_pcm_access_t access;
snd_pcm_format_t pcmformat; snd_pcm_format_t pcmformat;
snd_timestamp_t* timestamp;
snd_pcm_hw_params_t *hwparams; snd_pcm_hw_params_t *hwparams;
}; };

View file

@ -110,6 +110,7 @@ namespace QPatternist
m_axis(axis) m_axis(axis)
{ {
Q_ASSERT(m_test); Q_ASSERT(m_test);
Q_UNUSED(m_axis);
} }
virtual Action actionForElement(const QXmlName name, virtual Action actionForElement(const QXmlName name,