Bug 152847 - xournal-0.2-2: missing expression in return statement
Summary: xournal-0.2-2: missing expression in return statement
Status: RESOLVED INVALID
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: unspecified
Hardware: All SuSE Linux 10.1
: P5 - None : Normal
Target Milestone: ---
Assignee: Danny Kukawka
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-22 17:02 UTC by David Binderman
Modified: 2006-02-23 10:54 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2006-02-22 17:02:31 UTC
I just tried to compile package xournal-0.2-2 with the Intel C compiler.

It said

xo-callbacks.c(2033): warning #117: non-void function
"on_canvas_button_press_event" should return a value

The source code is

gboolean
on_canvas_button_press_event           (GtkWidget       *widget,
                                        GdkEventButton  *event,
                                        gpointer         user_data)
{
    /* ... */

    return;
  }

Suggest add expression to return statement.
Comment 1 Danny Al-Gaaf 2006-02-23 10:54:43 UTC
"Doctor it hurts if I hit my head against the wall" ;-)

1. This is only a warning
2. The Intel C compiler is not part of the distribution

Btw. I send a patch to the author upstream.