mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Fix minor style defects found by cppcheck
* add const keyword for constant functions * reduce the scope of variables if possible Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
This commit is contained in:
parent
f168e4bd7b
commit
714d398364
12 changed files with 29 additions and 33 deletions
|
|
@ -683,9 +683,8 @@ int main(int argc, char* argv[])
|
|||
}
|
||||
if (strcmp(argv[i], "--debugger-wait-source") == 0) {
|
||||
StringRef* sourceName;
|
||||
StringRef* clientSourceRef;
|
||||
while (true) {
|
||||
clientSourceRef = context->getClientSource(&sourceName);
|
||||
StringRef* clientSourceRef = context->getClientSource(&sourceName);
|
||||
if (!clientSourceRef) {
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue