forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf011e82
committed
Initialize HASHCTL differently, to suppress Coverity warning
Coverity complained that the hash_create() call might accesshash_table_ctl->hctl. That's a false alarm, hash_create() onlyaccesses that field when passed the HASH_SHARED_MEM flag. Try tosilence it by using a plain local variable instead of a const. That'show the HASHCTL is initialized in all the other hash_create() calls.1 parentb2be5cb commitf011e82
1 file changed
+5
-7
lines changedLines changed: 5 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
362 | 362 |
| |
363 | 363 |
| |
364 | 364 |
| |
365 |
| - | |
366 |
| - | |
367 |
| - | |
368 |
| - | |
| 365 | + | |
369 | 366 |
| |
370 | 367 |
| |
371 |
| - | |
372 | 368 |
| |
| 369 | + | |
| 370 | + | |
| 371 | + | |
373 | 372 |
| |
374 |
| - | |
375 |
| - | |
| 373 | + | |
376 | 374 |
| |
377 | 375 |
| |
378 | 376 |
| |
|
0 commit comments
Comments
(0)