[anjuta] symbol-db: bgo #614932 - void function cannot return value
- From: Massimo Cora' <mcora src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] symbol-db: bgo #614932 - void function cannot return value
- Date: Wed, 7 Apr 2010 17:24:04 +0000 (UTC)
commit 152bc3d2d163586d1556dd7384c16205298bdaa0
Author: Massimo Corà <mcora src gnome org>
Date: Wed Apr 7 19:12:20 2010 +0200
symbol-db: bgo #614932 - void function cannot return value
plugins/symbol-db/anjuta-tags/gir.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/symbol-db/anjuta-tags/gir.c b/plugins/symbol-db/anjuta-tags/gir.c
index 6997675..b0e85c5 100644
--- a/plugins/symbol-db/anjuta-tags/gir.c
+++ b/plugins/symbol-db/anjuta-tags/gir.c
@@ -150,13 +150,15 @@ makeTags (xmlNode *node, const gchar *parent)
|| strcmp ((const gchar*)node->name, "bitfield") == 0
|| strcmp ((const gchar*)node->name, "interface") == 0)
{
- return parse_class (node);
+ parse_class (node);
+ return;
}
if (strcmp ((const gchar*)node->name, "function") == 0 || strcmp ((const gchar*)node->name, "method") == 0
|| strcmp ((const gchar*)node->name, "callback") == 0
|| strcmp ((const gchar*)node->name, "constructor") == 0)
{
- return parse_function (node, parent);
+ parse_function (node, parent);
+ return;
}
if (strcmp ((const gchar*)node->name, "alias") == 0 ||
strcmp ((const gchar*)node->name, "constant") == 0 ||
@@ -184,8 +186,6 @@ makeTags (xmlNode *node, const gchar *parent)
makeTagEntry (tag);
return;
}
-// puts ((const gchar*)node->name);
-// g_assert_not_reached ();
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]