[PATCH] Add missing return values
- From: Thomas Jarosch <thomas jarosch intra2net com>
- To: networkmanager-list gnome org
- Subject: [PATCH] Add missing return values
- Date: Fri, 07 Oct 2011 22:25:34 +0200
Signed-off-by: Thomas Jarosch <thomas jarosch intra2net com>
---
examples/C/qt/add-connection-wired.cpp | 2 ++
examples/C/qt/list-connections.cpp | 2 ++
libnm-util/nm-setting-template.c | 1 +
3 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/examples/C/qt/add-connection-wired.cpp b/examples/C/qt/add-connection-wired.cpp
index f9e3f6c..475eaff 100644
--- a/examples/C/qt/add-connection-wired.cpp
+++ b/examples/C/qt/add-connection-wired.cpp
@@ -72,4 +72,6 @@ int main() {
QDBusConnection::systemBus());
addConnection(interface, "__Test connection__");
+
+ return 0;
}
diff --git a/examples/C/qt/list-connections.cpp b/examples/C/qt/list-connections.cpp
index fb98166..586a770 100644
--- a/examples/C/qt/list-connections.cpp
+++ b/examples/C/qt/list-connections.cpp
@@ -48,4 +48,6 @@ int main() {
QDBusConnection::systemBus());
listConnections(interface);
+
+ return 0;
}
diff --git a/libnm-util/nm-setting-template.c b/libnm-util/nm-setting-template.c
index 989c1db..7dd8797 100644
--- a/libnm-util/nm-setting-template.c
+++ b/libnm-util/nm-setting-template.c
@@ -47,6 +47,7 @@ static gboolean
verify (NMSetting *setting, GSList *all_settings)
{
NMSettingTemplate *self = NM_SETTING_TEMPLATE (setting);
+ return TRUE;
}
static void
--
1.7.4.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]