Diffstat (limited to 'noncore/apps/opie-console/serialconfigwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/serialconfigwidget.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/serialconfigwidget.cpp b/noncore/apps/opie-console/serialconfigwidget.cpp index 1e97a24..bd0312a 100644 --- a/noncore/apps/opie-console/serialconfigwidget.cpp +++ b/noncore/apps/opie-console/serialconfigwidget.cpp @@ -97,5 +97,6 @@ void SerialConfigWidget::load( const Profile& prof ) { */ void SerialConfigWidget::save( Profile& prof ) { - int flow, parity, speed; + int flow, parity, speed ; + flow = parity = speed = 0; prof.writeEntry("Device", m_deviceCmb->currentText() ); @@ -137,4 +138,5 @@ void SerialConfigWidget::save( Profile& prof ) { speed = 19200; break; + default: case IOLayerBase::Baud_9600: speed = 9600; |