[grisbi-bugs] [Grisbi-0.6.0 0000668]: Using uninitialised variable in metatree.c
bugtracker at grisbi.org
bugtracker at grisbi.org
Wed Oct 7 20:33:37 CEST 2009
A NOTE has been added to this issue.
======================================================================
http://grisbi.tuxfamily.org/mantis/view.php?id=668
======================================================================
Reported By: guneeyoufix
Assigned To:
======================================================================
Project: Grisbi-0.6.0
Issue ID: 668
Category: Main
Reproducibility: always
Severity: tweak
Priority: low
Status: new
Plateforme: Windows
OS: Windows
Version OS: Vista Familiale Premium
Unstable Impact: No
Version GTK:
======================================================================
Date Submitted: 10-07-2009 16:06 UTC
Last Modified: 10-07-2009 18:33 UTC
======================================================================
Summary: Using uninitialised variable in metatree.c
Description:
When debugging with MS VC++ Express, in Debug mode, the debugger made me
aware of an uninitialised variable problem.
After opening an account, when one selects the Payees category, the test
if ( ! div_id || ( sub_div_id <= 0 && current_number <= 0 ) )
on line 2317, is being carried out without the variables div_id,
sub_div_id, current_number being initialised.
This is not a major issue, because it has no consequence on the execution
of grisbi.
======================================================================
----------------------------------------------------------------------
pbiava - 10-07-09 18:33
----------------------------------------------------------------------
J'ai initialisé les variables à 0 car c'est une bonne pratique. Toutefois
si en théorie on pourrait avoir des variables non initialisées de fait ça
me semble improbable car la première condition me semble tout le temps
remplie.
Issue History
Date Modified Username Field Change
======================================================================
10-07-09 16:06 guneeyoufix New Issue
10-07-09 16:06 guneeyoufix Plateforme => Windows
10-07-09 16:06 guneeyoufix OS => Windows
10-07-09 16:06 guneeyoufix Version OS => Vista Familiale
Premium
10-07-09 16:06 guneeyoufix Unstable Impact => No
10-07-09 18:33 pbiava Note Added: 0001186
======================================================================
More information about the bugsreports
mailing list