20 lines
694 B
Text
20 lines
694 B
Text
$NetBSD: patch-aa,v 1.1 2005/11/17 18:22:16 rillig Exp $
|
|
|
|
SunPro says: A void function cannot return a value.
|
|
|
|
--- libgdome/gdomecore/gdome-xml-node.c.orig 2003-10-03 17:53:33.000000000 +0200
|
|
+++ libgdome/gdomecore/gdome-xml-node.c 2005-11-17 19:14:02.383302400 +0100
|
|
@@ -252,9 +252,11 @@ gdome_xml_n_unref (GdomeNode *self, Gdom
|
|
switch (type) {
|
|
case XML_DOCUMENT_TYPE_NODE:
|
|
case XML_DTD_NODE:
|
|
- return gdome_xml_dt_unref (self, exc);
|
|
+ (void)gdome_xml_dt_unref (self, exc);
|
|
+ return;
|
|
case XML_DOCUMENT_NODE:
|
|
- return gdome_xml_doc_unref (self, exc);
|
|
+ (void)gdome_xml_doc_unref (self, exc);
|
|
+ return;
|
|
default:
|
|
if (priv->refcnt > 0)
|
|
priv->refcnt--;
|