From: Kern Sibbald Date: Sun, 3 Apr 2011 07:25:11 +0000 (+0200) Subject: Fix reference to uninitialized stack variable X-Git-Tag: Release-7.0.0~973 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a353f993c59c2b79d67a854838f1664a1ca6d615;p=bacula%2Fbacula Fix reference to uninitialized stack variable --- diff --git a/bacula/src/qt-console/util/fmtwidgetitem.cpp b/bacula/src/qt-console/util/fmtwidgetitem.cpp index 5aa520c632..3971fc5eb7 100644 --- a/bacula/src/qt-console/util/fmtwidgetitem.cpp +++ b/bacula/src/qt-console/util/fmtwidgetitem.cpp @@ -304,6 +304,9 @@ void ItemFormatterBase::setBytesFld(int index, const QString &fld) case BYTES_CONVERSION_SI: msg = convertBytesSI(qfld); break; + default: + msg = " "; + break; } setNumericFld(index, msg, qfld);