Mailinglist Archive: opensuse-bugs (19755 mails)

< Previous Next >
[Bug 391455] New: gtk-sharp2-2.12.1-1 : missing return statement
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 16 May 2008 11:37:25 -0600 (MDT)
  • Message-id: <bug-391455-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=391455


Summary: gtk-sharp2-2.12.1-1 : missing return statement
Product: openSUSE 11.0
Version: Factory
Platform: All
OS/Version: openSUSE 11.0
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
Depends on: 391454
Found By: ---


I just tried to compile the Suse Linux package gtk-sharp2-2.12.1-1
with the GNU C compiler.

It said

warning: no return statement in function returning non-void

The source code is

gint
atksharp_object_override_get_n_children (GType gtype, gpointer cb)
{
AtkObjectClass *klass = g_type_class_peek (gtype);
if (!klass)
klass = g_type_class_ref (gtype);
((AtkObjectClass *) klass)->get_n_children = cb;
}

Suggest code rework.


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >