Skip to content

Commit

Permalink
Update tutorial01_answer.md: 告警 -> 警告
Browse files Browse the repository at this point in the history
  • Loading branch information
imba-tjd committed Aug 30, 2018
1 parent 3b8f312 commit 29c68bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorial01_answer/tutorial01_answer.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ static void test_parse() {
}
~~~

但要记得在上一级的测试函数 `test_parse()` 调用这函数,否则会不起作用。还好如果我们记得用 `static` 修饰这两个函数,编译器会发出告警
但要记得在上一级的测试函数 `test_parse()` 调用这函数,否则会不起作用。还好如果我们记得用 `static` 修饰这两个函数,编译器会发出警告

~~~
test.c:30:13: warning: unused function 'test_parse_true' [-Wunused-function]
Expand Down

0 comments on commit 29c68bd

Please sign in to comment.