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 114992 - printf problem and void function return type
printf problem and void function return type
Product: Fedora
Classification: Fedora
Component: libmusicbrainz (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Brent Fox
Depends On:
  Show dependency treegraph
Reported: 2004-02-05 04:54 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: 2004-02-12 12:14:37 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-02-05 04:54:34 EST
Description of problem:

I just tried to compile package libmusicbrainz-2.0.2-5 from Redhat
Fedora Core 1.

The compiler said


browser.c:84: warning: too many arguments for format

The source code is

       sprintf(newBrowser, "%s\"%%s\"", browser, ptr + 2);

Perhaps the programmer didn't know that %% specifies %. Perhaps

       sprintf(newBrowser, "%s\"%%%s\"", browser, ptr + 2);

was intended.


tiger.c(162): remark #1011: missing return statement at end of
non-void function "tiger_compress"

The source code is

/* The compress function is a function. Requires smaller cache?    */
tiger_compress(word64 *str, word64 state[3])
  tiger_compress_macro(((word64*)str), ((word64*)state));

Suggest make function have void return type.

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.