Bug 156965 - perl-DBD-SQLite-1.11-5: local variable used before set
Summary: perl-DBD-SQLite-1.11-5: local variable used before set
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: unspecified
Hardware: All SuSE Linux 10.1
: P5 - None : Normal
Target Milestone: ---
Assignee: Juergen Weigert
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-10 10:08 UTC by David Binderman
Modified: 2006-03-14 14:21 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2006-03-10 10:08:49 UTC
I just tried to compile package perl-DBD-SQLite-1.11-5 with the Intel C compiler.

It said

dbdimp.c(249): warning #592: variable "retval" is used before its value is set

The source code is

    int retval;

    if (!DBIc_ACTIVE(imp_dbh)) {
      sqlite_error(sth, (imp_xxh_t*)imp_sth, retval, "attempt to prepare on inactive database handle");

Suggest initialise local variable "retval" before first use.
Comment 1 Juergen Weigert 2006-03-13 21:32:36 UTC
rt.cpan.org#18153 done.
fixed locally. 
new package submitted.
thanks.
Comment 2 Juergen Weigert 2006-03-14 14:21:11 UTC
closed fixed.