#127 missing expression in return statement

closed-out-of-date
bidd
None
5
2006-09-06
2006-09-06
Anonymous
No

I just tried to compile the package
gnomebaker-0.5.1.cvs20060824-2 with the
GNU C compiler.

The compiler said

audioproject.c:160: warning: 'return' with no value, in
function
returning non-void

The source code is

static gboolean
audioproject_update_progress_bar(AudioProject
*audio_project, gboolean add,
gdouble seconds)
{
GB_LOG_FUNC
g_return_if_fail(audio_project != NULL);

Suggest change source code to return a value from the
function, not just random data on the stack.

Discussion

  • bidd

    bidd - 2006-09-06

    Logged In: YES
    user_id=1161543

    Many, thanks. This is already fixed in cvs.

     
  • bidd

    bidd - 2006-09-06
    • assigned_to: nobody --> bidd
    • status: open --> closed-out-of-date
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks