forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5c7121b
committed
Fix function-defined-but-not-used warning.
Buildfarm member jacana (MinGW) has been complaining thatget_iso_localename is defined but not used. This is evidentlyfallout from the recent removal of VS2013 support in pg_locale.c.Rearrange the #ifs so that get_iso_localename and its subroutinesearch_locale_enum won't get built on MinGW.I also noticed that a comment in get_iso_localename cross-referenced a comment in IsoLocaleName that isn't there anymore.Put back what I think is the referenced material.1 parent692df42 commit5c7121b
1 file changed
+18
-6
lines changedLines changed: 18 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
118 | 118 |
| |
119 | 119 |
| |
120 | 120 |
| |
121 |
| - | |
| 121 | + | |
122 | 122 |
| |
123 | 123 |
| |
124 | 124 |
| |
| |||
950 | 950 |
| |
951 | 951 |
| |
952 | 952 |
| |
| 953 | + | |
| 954 | + | |
953 | 955 |
| |
954 | 956 |
| |
955 | 957 |
| |
| |||
1088 | 1090 |
| |
1089 | 1091 |
| |
1090 | 1092 |
| |
1091 |
| - | |
1092 |
| - | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
1093 | 1098 |
| |
1094 | 1099 |
| |
1095 | 1100 |
| |
| |||
1103 | 1108 |
| |
1104 | 1109 |
| |
1105 | 1110 |
| |
1106 |
| - | |
1107 | 1111 |
| |
1108 | 1112 |
| |
1109 | 1113 |
| |
| |||
1114 | 1118 |
| |
1115 | 1119 |
| |
1116 | 1120 |
| |
| 1121 | + | |
1117 | 1122 |
| |
1118 |
| - | |
1119 |
| - | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
1120 | 1129 |
| |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
1121 | 1133 |
| |
1122 | 1134 |
| |
1123 | 1135 |
| |
|
0 commit comments
Comments
(0)