summaryrefslogtreecommitdiff
path: root/libopie2/opienet/onetwork.cpp
authorzecke <zecke>2004-08-23 22:36:53 (UTC)
committer zecke <zecke>2004-08-23 22:36:53 (UTC)
commitf8f1d4f340b591f21cd7c10259da1241ecf69dd9 (patch) (side-by-side diff)
tree1dd1f56716000d7952c31340e4b299c5635cbade /libopie2/opienet/onetwork.cpp
parentbf5a6236fe0f0ab42075a6a20539b7fd856ddcdd (diff)
downloadopie-f8f1d4f340b591f21cd7c10259da1241ecf69dd9.zip
opie-f8f1d4f340b591f21cd7c10259da1241ecf69dd9.tar.gz
opie-f8f1d4f340b591f21cd7c10259da1241ecf69dd9.tar.bz2
Fix warnings raised by the compiler
Diffstat (limited to 'libopie2/opienet/onetwork.cpp') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opienet/onetwork.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libopie2/opienet/onetwork.cpp b/libopie2/opienet/onetwork.cpp
index 171a2bc..591681c 100644
--- a/libopie2/opienet/onetwork.cpp
+++ b/libopie2/opienet/onetwork.cpp
@@ -835,5 +835,5 @@ void OWirelessNetworkInterface::setPrivate( const QString& call, int numargs, ..
-void OWirelessNetworkInterface::getPrivate( const QString& call )
+void OWirelessNetworkInterface::getPrivate( const QString& )
{
oerr << "OWirelessNetworkInterface::getPrivate() is not implemented yet." << oendl;
@@ -843,5 +843,5 @@ void OWirelessNetworkInterface::getPrivate( const QString& call )
bool OWirelessNetworkInterface::hasPrivate( const QString& call )
{
- return child( (const char*) call );
+ return child( call.local8Bit() );
}
@@ -1013,6 +1013,6 @@ int OWirelessNetworkInterface::signalStrength() const
int max = _range.max_qual.qual;
int cur = stat.qual.qual;
- int lev = stat.qual.level; //FIXME: Do something with them?
- int noi = stat.qual.noise; //FIXME: Do something with them?
+// int lev = stat.qual.level; //FIXME: Do something with them?
+// int noi = stat.qual.noise; //FIXME: Do something with them?
@@ -1072,5 +1072,5 @@ void OMonitoringInterface::setChannel( int c )
-void OMonitoringInterface::setEnabled( bool b )
+void OMonitoringInterface::setEnabled( bool )
{
}
@@ -1093,5 +1093,5 @@ OCiscoMonitoringInterface::~OCiscoMonitoringInterface()
-void OCiscoMonitoringInterface::setEnabled( bool b )
+void OCiscoMonitoringInterface::setEnabled( bool /*b*/ )
{
QString fname;