Skip to content

Commit caa8159

Browse files
committed
コードの誤りを修正
1 parent 51384f5 commit caa8159

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lang/cpp17/selection_statements_with_initializer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ if (status_code c = bar(); c != SUCCESS) {
3232
3333
return c;
3434
} else {
35-
//ステータスコード C が成功だったら、何かして、処理を続行する
35+
//ステータスコード c が成功だったら、何かして、処理を続行する
3636
3737
}
3838
//この時点で c は無効
@@ -160,7 +160,7 @@ status_code foo() {
160160
int n = get_value();
161161

162162
{
163-
status_code C = bar(n);
163+
status_code c = bar(n);
164164
if (c != status_code::SUCCESS) { return c; }
165165
}
166166
{

0 commit comments

Comments
 (0)