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):
Steps to Reproduce: