Unitialized value in OperationDetail::OperationDetail

This commit is contained in:
Seth Heeren 2010-10-03 02:50:24 +02:00 committed by Curtis Gedak
parent 37dad68f45
commit 29e4329182
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ namespace GParted
OperationDetail::OperationDetail()
{
status = STATUS_NONE; // prevent uninitialized member access
set_status( STATUS_NONE ) ;
fraction = -1 ;
time_elapsed = -1 ;