Re: [PATCH] Add missing return values



On Fri, 2011-10-07 at 22:25 +0200, Thomas Jarosch wrote:
> Signed-off-by: Thomas Jarosch <thomas jarosch intra2net com>

Applied, thanks!

> ---
>  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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]