]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix reference to uninitialized stack variable
authorKern Sibbald <kern@sibbald.com>
Sun, 3 Apr 2011 07:25:11 +0000 (09:25 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:44:32 +0000 (14:44 +0200)
bacula/src/qt-console/util/fmtwidgetitem.cpp

index 5aa520c632e819728c59dde2410e67d931f0917e..3971fc5eb7861d6b67afb50edc6321d3807f470d 100644 (file)
@@ -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);