author | zecke <zecke> | 2004-09-10 11:04:46 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-09-10 11:04:46 (UTC) |
commit | 224c96feb94acd6a87e1a2463aca9726afe925ef (patch) (side-by-side diff) | |
tree | 58addf357217e4e84d7231afed4a901b3a2e0bba /libopie2 | |
parent | 2ec724fc789cd34f6b3743896516f2fef2731456 (diff) | |
download | opie-224c96feb94acd6a87e1a2463aca9726afe925ef.zip opie-224c96feb94acd6a87e1a2463aca9726afe925ef.tar.gz opie-224c96feb94acd6a87e1a2463aca9726afe925ef.tar.bz2 |
Fix warnings about unused parameters
-rw-r--r-- | libopie2/opiecore/oconfig.cpp | 2 | ||||
-rw-r--r-- | libopie2/opiecore/ofilenotify.cpp | 2 | ||||
-rw-r--r-- | libopie2/opiecore/opluginloader.h | 3 |
3 files changed, 6 insertions, 1 deletions
diff --git a/libopie2/opiecore/oconfig.cpp b/libopie2/opiecore/oconfig.cpp index 05d8070..6b57729 100644 --- a/libopie2/opiecore/oconfig.cpp +++ b/libopie2/opiecore/oconfig.cpp @@ -112,8 +112,10 @@ QColor OConfig::readColorEntry( const QString& key, const QColor* pDefault ) con // FIXME: The whole font handling has to be revised for Opie QFont OConfig::readFontEntry( const QString& key, const QFont* pDefault ) const { + Q_CONST_UNUSED( key ) + Q_CONST_UNUSED( pDefault ) /* QFont aRetFont; QString aValue = readEntry( key ); diff --git a/libopie2/opiecore/ofilenotify.cpp b/libopie2/opiecore/ofilenotify.cpp index b576c4f..2a9bb8c 100644 --- a/libopie2/opiecore/ofilenotify.cpp +++ b/libopie2/opiecore/ofilenotify.cpp @@ -248,8 +248,10 @@ void OFileNotification::singleShot( const QString& path, QObject* receiver, cons void OFileNotification::__signalHandler( int sig, siginfo_t *si, void *data ) { + Q_UNUSED( sig ) + Q_UNUSED( data ) qWarning( "OFileNotification::__signalHandler(): reached." ); int fd = si->si_fd; OFileNotification* fn = notification_list[fd]; if ( fn ) diff --git a/libopie2/opiecore/opluginloader.h b/libopie2/opiecore/opluginloader.h index d97f586..ee47733 100644 --- a/libopie2/opiecore/opluginloader.h +++ b/libopie2/opiecore/opluginloader.h @@ -63,9 +63,10 @@ private: * * This is the generic non sepcialised loader for plugins. Normally * you would prefer using the OPluginLoader directly. This class * exists to minimize the application binary size due the usage - * of templates in the specialized API + * of templates in the specialized API. + * * * @since 1.2 * @see OPluginLoader */ |