From e7a38bf31d05ac6ed3d1a0afd1c174ce74317ef4 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 19 Nov 2012 23:19:30 +0000 Subject: Always return a value in non-void functions. --- inputmethod/ibus-m17n/distinfo | 3 ++- inputmethod/ibus-m17n/patches/patch-src_setup.c | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 inputmethod/ibus-m17n/patches/patch-src_setup.c (limited to 'inputmethod/ibus-m17n') diff --git a/inputmethod/ibus-m17n/distinfo b/inputmethod/ibus-m17n/distinfo index 415401b56ad..f20ffdc3b0f 100644 --- a/inputmethod/ibus-m17n/distinfo +++ b/inputmethod/ibus-m17n/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.5 2012/05/08 09:41:33 obache Exp $ +$NetBSD: distinfo,v 1.6 2012/11/19 23:19:30 joerg Exp $ SHA1 (ibus-m17n-1.3.4.tar.gz) = 068de56caa87c002adeae0de9e908f47e3f9fde9 RMD160 (ibus-m17n-1.3.4.tar.gz) = ee9a153549d47a563e8bebf10af81b2e5f4136c4 Size (ibus-m17n-1.3.4.tar.gz) = 436687 bytes +SHA1 (patch-src_setup.c) = 3159e91232cdb48dddfc87d8e80210cb8e628c2e diff --git a/inputmethod/ibus-m17n/patches/patch-src_setup.c b/inputmethod/ibus-m17n/patches/patch-src_setup.c new file mode 100644 index 00000000000..635ed5dd0e7 --- /dev/null +++ b/inputmethod/ibus-m17n/patches/patch-src_setup.c @@ -0,0 +1,13 @@ +$NetBSD: patch-src_setup.c,v 1.1 2012/11/19 23:19:30 joerg Exp $ + +--- src/setup.c.orig 2012-11-19 16:31:43.000000000 +0000 ++++ src/setup.c +@@ -428,7 +428,7 @@ save_m17n_options (SetupDialog *dialog) + gboolean retval = TRUE; + + if (!gtk_tree_model_get_iter_first (model, &iter)) +- return; ++ return FALSE; + + do { + gtk_tree_model_get (model, &iter, -- cgit v1.2.3