Skip to content

Commit

Permalink
TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
oktal3700 committed Nov 21, 2023
1 parent 92dcbf4 commit ac3acfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blackmisc/applicationinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace BlackMisc
m_platform(CBuildConfig::getPlatformString()),
m_process(CProcessInfo::currentProcess())
{
if (app == CApplicationInfo::Unknown)
if (app = CApplicationInfo::Unknown)

Check warning on line 28 in src/blackmisc/applicationinfo.cpp

View workflow job for this annotation

GitHub Actions / buildMacOS

using the result of an assignment as a condition without parentheses

Check notice on line 28 in src/blackmisc/applicationinfo.cpp

View workflow job for this annotation

GitHub Actions / buildMacOS

place parentheses around the assignment to silence this warning

Check notice on line 28 in src/blackmisc/applicationinfo.cpp

View workflow job for this annotation

GitHub Actions / buildMacOS

use '==' to turn this assignment into an equality comparison

Check warning on line 28 in src/blackmisc/applicationinfo.cpp

View workflow job for this annotation

GitHub Actions / buildLinux

suggest parentheses around assignment used as truth value
{
m_app = guessApplication();
}
Expand Down

0 comments on commit ac3acfd

Please sign in to comment.