Bug 141941 - 2 * local variable used before set
Summary: 2 * local variable used before set
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gimp
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-12-06 09:53 UTC by David Binderman
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-12-06 10:33:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Binderman 2004-12-06 09:53:59 UTC
Description of problem:

I just tried to compile package gimp-2.0.5-5 from Redhat Fedora
Core 3.

The compiler said

1.

gimpbilinear.c(132): remark #592: variable "v" is used before its
value is set

The source code is

  GimpRGB v;

  g_return_val_if_fail (values != NULL, v);

Suggest init v before first use.

2.

gimpbilinear.c(179): remark #592: variable "v" is used before its
value is set

Duplicate.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Nils Philippsen 2004-12-06 10:33:12 UTC
For issues like that were there is no apparent erroneous behaviour of the
program, please raise them upstream at http://gimp.org/bugs/ (you should check
whether the bug is persistent in 2.0.6 (the last 2.0 release) and 2.2pre2 though
-- you can find packages for the latter in Rawhide) and report back with the bug
number.


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