mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
refs #910, gcc missing initializer for member
This commit is contained in:
committed by
Mathew Sutcliffe
parent
61dc32e894
commit
389c771c22
@@ -61,7 +61,7 @@ namespace BlackMisc
|
||||
CWinDllUtils::DLLInfo CWinDllUtils::getDllInfo(const QString &dllFile)
|
||||
{
|
||||
// http://stackoverflow.com/questions/940707/how-do-i-programatically-get-the-version-of-a-dll-or-exe-file
|
||||
DLLInfo result = {};
|
||||
DLLInfo result;
|
||||
const QFile dllQFile(dllFile);
|
||||
if (!dllQFile.exists())
|
||||
{
|
||||
@@ -198,7 +198,7 @@ namespace BlackMisc
|
||||
CWinDllUtils::DLLInfo CWinDllUtils::getDllInfo(const QString &dllFile)
|
||||
{
|
||||
Q_UNUSED(dllFile);
|
||||
DLLInfo result = {};
|
||||
DLLInfo result;
|
||||
result.errorMsg = QString("Only works on Windows");
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user