From: Kern Sibbald Date: Sun, 3 Apr 2011 07:25:11 +0000 (+0200) Subject: Fix reference to uninitialized stack variable X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d76603975728987c18d8dd84c12562fc0805dfc4;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);