foo.cc: In function 'Node* Search(Node*, int)':
foo.cc:65:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
65 | if (p->data == x)
| ^~
foo.cc:67:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
67 | p = p->next;
| ^
foo.cc: In function 'Node* Insert(Node*, int)':
foo.cc:117:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
117 | if (newp->data > prev->data) prev->next = newp; newp->next = NULL;
| ^~
foo.cc:117:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
117 | if (newp->data > prev->data) prev->next = newp; newp->next = NULL;
| ^~~~
[Hydro](https://hydro.ac)提供评测服务