Fix uninitialized values (valgrind report)

This commit is contained in:
Adriaan de Groot 2017-08-30 06:12:14 -04:00 committed by Philip
parent a776284dfa
commit ef84c63f69
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@
EncryptWidget::EncryptWidget( QWidget* parent )
: QWidget( parent )
, m_state( EncryptionDisabled )
{
setupUi( this );

View File

@ -112,7 +112,7 @@ process_device(PedDevice *dev)
int
check_big_enough(long long required_space)
{
PedDevice *dev;
PedDevice *dev = NULL;
ped_exception_fetch_all();
ped_device_probe_all();