Mailinglist Archive: opensuse-bugs (4172 mails)

< Previous Next >
[Bug 513038] New: gdl-2.27.2-2.2: 'return' with no value, in function returning non-void
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 14 Jun 2009 16:05:43 -0600
  • Message-id: <bug-513038-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=513038


Summary: gdl-2.27.2-2.2: 'return' with no value, in function
returning non-void
Classification: openSUSE
Product: openSUSE 11.2
Version: Factory
Platform: All
OS/Version: openSUSE 11.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---


I just tried to build Factory package gdl-2.27.2-2.2
and the build said

gdl-dock-item.c:1802:5: warning: 'return' with no value, in function returning
non-void

The source code is

g_return_if_fail (item != NULL);

I agree with the compiler. Suggest code rework. Maybe

g_return_val_if_fail (item != NULL, NULL);

might work.

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

< Previous Next >
Follow Ups