Skip to content

Commit

Permalink
Fixed warning in release.
Browse files Browse the repository at this point in the history
  • Loading branch information
stgatilov committed Aug 6, 2021
1 parent d8e549a commit bfe30e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/dm.gameconnection/AutomationEngine.cpp
Expand Up @@ -120,7 +120,7 @@ void AutomationEngine::think() {
//validate and remove preamble
int responseSeqno, lineLen;
int ret = sscanf(responseBytes.data(), "response %d\n%n", &responseSeqno, &lineLen);
assert(ret == 1);
assert(ret == 1); ret;
std::string response(responseBytes.begin() + lineLen, responseBytes.end());

//find request, mark it as "no longer in progress"
Expand Down

0 comments on commit bfe30e3

Please sign in to comment.