Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7aa3f1d

Browse files
committed
Insert dummy "break"s to silence compiler complaints.
Apparently some compilers dislike a case label with nothing after it.Per buildfarm.
1 parentc1d82a9 commit7aa3f1d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

‎src/backend/regex/regc_pg_locale.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ pg_wc_isdigit(pg_wchar c)
306306
return (c <= (pg_wchar)UCHAR_MAX&&
307307
isdigit_l((unsignedchar)c,pg_regex_locale));
308308
#endif
309+
break;
309310
}
310311
return0;/* can't get here, but keep compiler quiet */
311312
}
@@ -338,6 +339,7 @@ pg_wc_isalpha(pg_wchar c)
338339
return (c <= (pg_wchar)UCHAR_MAX&&
339340
isalpha_l((unsignedchar)c,pg_regex_locale));
340341
#endif
342+
break;
341343
}
342344
return0;/* can't get here, but keep compiler quiet */
343345
}
@@ -370,6 +372,7 @@ pg_wc_isalnum(pg_wchar c)
370372
return (c <= (pg_wchar)UCHAR_MAX&&
371373
isalnum_l((unsignedchar)c,pg_regex_locale));
372374
#endif
375+
break;
373376
}
374377
return0;/* can't get here, but keep compiler quiet */
375378
}
@@ -402,6 +405,7 @@ pg_wc_isupper(pg_wchar c)
402405
return (c <= (pg_wchar)UCHAR_MAX&&
403406
isupper_l((unsignedchar)c,pg_regex_locale));
404407
#endif
408+
break;
405409
}
406410
return0;/* can't get here, but keep compiler quiet */
407411
}
@@ -434,6 +438,7 @@ pg_wc_islower(pg_wchar c)
434438
return (c <= (pg_wchar)UCHAR_MAX&&
435439
islower_l((unsignedchar)c,pg_regex_locale));
436440
#endif
441+
break;
437442
}
438443
return0;/* can't get here, but keep compiler quiet */
439444
}
@@ -466,6 +471,7 @@ pg_wc_isgraph(pg_wchar c)
466471
return (c <= (pg_wchar)UCHAR_MAX&&
467472
isgraph_l((unsignedchar)c,pg_regex_locale));
468473
#endif
474+
break;
469475
}
470476
return0;/* can't get here, but keep compiler quiet */
471477
}
@@ -498,6 +504,7 @@ pg_wc_isprint(pg_wchar c)
498504
return (c <= (pg_wchar)UCHAR_MAX&&
499505
isprint_l((unsignedchar)c,pg_regex_locale));
500506
#endif
507+
break;
501508
}
502509
return0;/* can't get here, but keep compiler quiet */
503510
}
@@ -530,6 +537,7 @@ pg_wc_ispunct(pg_wchar c)
530537
return (c <= (pg_wchar)UCHAR_MAX&&
531538
ispunct_l((unsignedchar)c,pg_regex_locale));
532539
#endif
540+
break;
533541
}
534542
return0;/* can't get here, but keep compiler quiet */
535543
}
@@ -562,6 +570,7 @@ pg_wc_isspace(pg_wchar c)
562570
return (c <= (pg_wchar)UCHAR_MAX&&
563571
isspace_l((unsignedchar)c,pg_regex_locale));
564572
#endif
573+
break;
565574
}
566575
return0;/* can't get here, but keep compiler quiet */
567576
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp