forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite712254
committed
Disable unused-variable warning C4101 in MSVC
The C4101 warning for unused variable cannot be individually suppressedwith PG_USED_FOR_ASSERTS_ONLY, and thus cause false-positive warningsfor variables which are defined but only read/written in an assertion.Until a satisfactory solution for per-variable suppression like how wedo for gcc and clang, disable the warning.Discussion:https://postgr.es/m/CAJcOf-c+KniGAp31pn8TC=9a-WHXpkX-3+8-2BkaCsZchhu=8w@mail.gmail.com1 parentac0db34 commite712254
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 |
| - | |
| 37 | + | |
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
|
0 commit comments
Comments
(0)