mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-31 12:00:16 -07:00
Initialize variables properly
The warnings are emitted when compiling on msys2, mingw The warning was: gui/torrentcontentmodel.cpp:135:33: warning: missing initializer for member '_SHFILEINFOW::iIcon' [-Wmissing-field-initializers] ..\..\qBittorrent\src\app\stacktrace_win.h:141:30: warning: missing initializer for member '_IMAGEHLP_LINE64::Key' [-Wmissing-field-initializers]
This commit is contained in:
parent
7c6a5afbff
commit
4751b79f42
2 changed files with 2 additions and 2 deletions
|
@ -138,7 +138,7 @@ bool straceWin::makeRelativePath(const QString& dir, QString& file)
|
|||
|
||||
QString straceWin::getSourcePathAndLineNumber(HANDLE hProcess, DWORD64 addr)
|
||||
{
|
||||
IMAGEHLP_LINE64 line = {0};
|
||||
IMAGEHLP_LINE64 line {};
|
||||
line.SizeOfStruct = sizeof(IMAGEHLP_LINE64);
|
||||
DWORD dwDisplacement = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue