Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 113375 - couple of compile time problems
couple of compile time problems
Product: Fedora
Classification: Fedora
Component: bluez-pin (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Woodhouse
Depends On:
  Show dependency treegraph
Reported: 2004-01-13 06:19 EST by d.binderman
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-03-02 07:48:33 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description d.binderman 2004-01-13 06:19:16 EST
Description of problem:

I just tried to compile package bluez-pin-0.20-1, from Redhat
Fedora Core 1.

The compiler said


ui.c:143: warning: no return statement in function returning non-void
ui.c:143: warning: control reaches end of non-void function

Upon checking the source code, I find that function "bluez_pin_request"
has a gboolean return type, but there is no return statement in the 
body of the function.

Suggest add a return statement at the end of the function.


The compiler also says

n.c(80): remark #592: variable "dpy" is used before its value is set

The source code is

  char *dpy = getenv (dpy);

Seems bizarre code to me. I'm not sure what the programmer intended, 
but this code needs rework anyway.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

Note You need to log in before you can comment on or make changes to this bug.