mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-21 01:05:59 +00:00
GUI: Skip useless assignment. CID 1002117
This commit is contained in:
parent
a71e59fd2d
commit
aa2a6d7445
@ -752,7 +752,8 @@ bool PredictiveDialog::matchWord() {
|
||||
char tmp[kMaxLineLen];
|
||||
strncpy(tmp, _unitedDict.dictLine[line], kMaxLineLen);
|
||||
tmp[kMaxLineLen - 1] = 0;
|
||||
char *tok = strtok(tmp, " ");
|
||||
char *tok;
|
||||
strtok(tmp, " ");
|
||||
tok = strtok(NULL, " ");
|
||||
_currentWord = Common::String(tok, _currentCode.size());
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user