forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8cd61d2
committed
Avoid unnecessary MemSet call
The variable in question was changed from a struct to a pointer sometime ago (77947c5). Using MemSet to zero it still works but isobviously unidiomatic and confusing, so change it to a straightassignment.Author: Ranier Vilela <ranier.vf@gmail.com>Discussion:https://www.postgresql.org/message-id/flat/CAEudQApCeq4JjW1BdnwU=m=-DvG5WyUik0Yfn3p6UNphiHjj+w@mail.gmail.com1 parentd31d309 commit8cd61d2
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6258 | 6258 |
| |
6259 | 6259 |
| |
6260 | 6260 |
| |
6261 |
| - | |
| 6261 | + | |
6262 | 6262 |
| |
6263 | 6263 |
| |
6264 | 6264 |
| |
|
0 commit comments
Comments
(0)