Skip to content

Commit

Permalink
Update src/base/path.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Vladimir Golovnev <[email protected]>
  • Loading branch information
DoubleSpicy and glassez authored Jan 30, 2025
1 parent cef2fff commit dccf4fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/base/path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ bool Path::isUNCPath() const
QString Path::getUNCRootPathStr() const
{
// only call this with isUNCPath() guard
int slashCount = 0, index;
int slashCount = 0;
int index = 0;
for (index = 0; index < m_pathStr.size(); ++index)
{
if (m_pathStr[index] == u'\\')
Expand Down

0 comments on commit dccf4fa

Please sign in to comment.