[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r33627 - in gnunet-qt/SecureShare: core/gnunet core/identit
From: |
gnunet |
Subject: |
[GNUnet-SVN] r33627 - in gnunet-qt/SecureShare: core/gnunet core/identity models |
Date: |
Wed, 11 Jun 2014 00:18:24 +0200 |
Author: bratao
Date: 2014-06-11 00:18:24 +0200 (Wed, 11 Jun 2014)
New Revision: 33627
Modified:
gnunet-qt/SecureShare/core/gnunet/gnunet.cpp
gnunet-qt/SecureShare/core/identity/identityService.cpp
gnunet-qt/SecureShare/models/IdentityModel.cpp
gnunet-qt/SecureShare/models/PlacesModel.cpp
Log:
Fixed warnings
Modified: gnunet-qt/SecureShare/core/gnunet/gnunet.cpp
===================================================================
--- gnunet-qt/SecureShare/core/gnunet/gnunet.cpp 2014-06-10 14:57:51 UTC
(rev 33626)
+++ gnunet-qt/SecureShare/core/gnunet/gnunet.cpp 2014-06-10 22:18:24 UTC
(rev 33627)
@@ -141,8 +141,8 @@
char *privateKeyFileName;
- GNUNET_CRYPTO_EddsaPrivateKey *priv;
+
//Create our configuration
m_config = GNUNET_CONFIGURATION_create ();
GNUNET_CONFIGURATION_load (m_config, cfgfile);
Modified: gnunet-qt/SecureShare/core/identity/identityService.cpp
===================================================================
--- gnunet-qt/SecureShare/core/identity/identityService.cpp 2014-06-10
14:57:51 UTC (rev 33626)
+++ gnunet-qt/SecureShare/core/identity/identityService.cpp 2014-06-10
22:18:24 UTC (rev 33627)
@@ -22,7 +22,7 @@
this->m_config = config;
QObject::connect(this, &IdentityService::createEgoSignal, this,
- IdentityService::createEgoSlot, Qt::QueuedConnection);
+ &IdentityService::createEgoSlot, Qt::QueuedConnection);
m_identityHandle = GNUNET_IDENTITY_connect (config,
@@ -63,6 +63,8 @@
const char *emsg)
{
+ Q_UNUSED(cls);
+ Q_UNUSED(emsg);
//NOP
}
Modified: gnunet-qt/SecureShare/models/IdentityModel.cpp
===================================================================
--- gnunet-qt/SecureShare/models/IdentityModel.cpp 2014-06-10 14:57:51 UTC
(rev 33626)
+++ gnunet-qt/SecureShare/models/IdentityModel.cpp 2014-06-10 22:18:24 UTC
(rev 33627)
@@ -37,6 +37,7 @@
int IdentityModel::rowCount(const QModelIndex& parent) const
{
+ Q_UNUSED(parent);
return m_data.size()+1; // PLus one is because the last one is a "<CREATE>"
}
Modified: gnunet-qt/SecureShare/models/PlacesModel.cpp
===================================================================
--- gnunet-qt/SecureShare/models/PlacesModel.cpp 2014-06-10 14:57:51 UTC
(rev 33626)
+++ gnunet-qt/SecureShare/models/PlacesModel.cpp 2014-06-10 22:18:24 UTC
(rev 33627)
@@ -37,6 +37,7 @@
int PlacesModel::rowCount(const QModelIndex& parent) const
{
+ Q_UNUSED(parent);
return m_data.size();
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r33627 - in gnunet-qt/SecureShare: core/gnunet core/identity models,
gnunet <=