mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Avoid potential uninitialized access
I don't think this could ever happen but hey, let's be sure. Coverity CID 1307985 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f09a3c3304
commit
6b0d9adb61
1 changed files with 2 additions and 1 deletions
|
@ -213,9 +213,10 @@ ConfigureDiveComputerDialog::ConfigureDiveComputerDialog(QWidget *parent) : QDia
|
|||
settings.endGroup();
|
||||
}
|
||||
|
||||
OstcFirmwareCheck::OstcFirmwareCheck(QString product)
|
||||
OstcFirmwareCheck::OstcFirmwareCheck(QString product) : parent(0)
|
||||
{
|
||||
QUrl url;
|
||||
memset(&devData, 1, sizeof(devData));
|
||||
if (product == "OSTC 3") {
|
||||
url = QUrl("http://www.heinrichsweikamp.net/autofirmware/ostc3_changelog.txt");
|
||||
latestFirmwareHexFile = QString("http://www.heinrichsweikamp.net/autofirmware/ostc3_firmware.hex");
|
||||
|
|
Loading…
Add table
Reference in a new issue