forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit117fde2

Neil Conway
Minor ecpg tweak: the return value of calloc() is guaranteed to be NULL
or zero-filled; therefore zero-filling it via memset() is pointless.(I think setting `errno' is probably a waste of cycles as well, but Ihaven't changed that.)1 parent4802bb5 commit117fde2
1 file changed
+1
-5
lines changedLines changed: 1 addition & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| 5 | + | |
5 | 6 |
| |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
11 |
| - | |
12 | 12 |
| |
13 |
| - | |
14 |
| - | |
15 |
| - | |
16 |
| - | |
17 | 13 |
| |
18 | 14 |
| |
19 | 15 |
| |
|
0 commit comments
Comments
(0)