Mailinglist Archive: opensuse-bugs (14787 mails)
| < Previous | Next > |
[Bug 218500] New: qtcurve-gtk2-0.44.3-7: missing return statement
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Mon, 6 Nov 2006 10:51:52 -0700 (MST)
- Message-id: <bug-218500-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=218500
Summary: qtcurve-gtk2-0.44.3-7: missing return statement
Product: openSUSE 10.2
Version: Beta 1 plus
Platform: All
OS/Version: SuSE Linux 10.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
I just tried to compile package qtcurve-gtk2-0.44.3-7 with the
Intel C compiler.
It said
animation.c(46): warning #1011: missing return statement at end of non-void
function "force_widget_redraw"
The source code is
static gboolean
force_widget_redraw (GtkWidget *widget)
{
if (GTK_IS_PROGRESS_BAR (widget))
gtk_widget_queue_resize (widget);
else
gtk_widget_queue_draw (widget);
}
I have read the source code and I agree with the compiler.
Suggest add return statement at the end of the function.
--
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, or are watching someone who is.
Summary: qtcurve-gtk2-0.44.3-7: missing return statement
Product: openSUSE 10.2
Version: Beta 1 plus
Platform: All
OS/Version: SuSE Linux 10.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
I just tried to compile package qtcurve-gtk2-0.44.3-7 with the
Intel C compiler.
It said
animation.c(46): warning #1011: missing return statement at end of non-void
function "force_widget_redraw"
The source code is
static gboolean
force_widget_redraw (GtkWidget *widget)
{
if (GTK_IS_PROGRESS_BAR (widget))
gtk_widget_queue_resize (widget);
else
gtk_widget_queue_draw (widget);
}
I have read the source code and I agree with the compiler.
Suggest add return statement at the end of the function.
--
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, or are watching someone who is.
| < Previous | Next > |