We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c81d5e0 commit 1f71f6fCopy full SHA for 1f71f6f
docs/chapter_array_and_linkedlist/linked_list.md
@@ -152,7 +152,7 @@
152
153
/* 构造函数 */
154
ListNode *newListNode(int val) {
155
- ListNode *node, *next;
+ ListNode *node;
156
node = (ListNode *) malloc(sizeof(ListNode));
157
node->val = val;
158
node->next = NULL;
@@ -618,7 +618,7 @@
618
619
620
621
622
623
624
0 commit comments