Bug 150213 - local variable used before set
local variable used before set
Product: Fedora
Classification: Fedora
Component: silky (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Toni Willberg
Depends On:
  Show dependency treegraph
Reported: 2005-03-03 14:51 EST by David Binderman
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-03-03 15:23:56 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 David Binderman 2005-03-03 14:51:34 EST
Description of problem:

I just tried to compile silky-0.5.2-1 from 
Redhat Fedora Extras development tree.

The Intel compiler said

support.c(85): remark #592: variable "iter" is used before its value
is set

The source code is

  GtkTreeIter iter;
  gboolean valid;
  SilcClientID *stored_clientid;


  if (!client_id) {
    debug("Did not get client_id");
    return iter;

Suggest init local variable iter before first use.

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

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Toni Willberg 2005-03-03 15:23:56 EST
Hi and thanks for the report.

The bug had been already fixed in the upstream CVS.

Next release of Silky containing the fix shall be released soon. We
are already in string freeze for release candidate.

 Toni Willberg
 author of Silky

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