Files
bind9/lib/dns
Matthijs Mekking 659fa0cbc3 Fix Coverity CID 487884: Dead code in qpcache.c
Adding a changed record is zonedb related and does not belong in
the cache code. This is a leftover dead code and can be safely
removed.

/lib/dns/qpcache.c: 3459 in add()
3453     			}
3454     			newheader->next = topheader->next;
3455     			newheader->down = topheader;
3456     			topheader->next = newheader;
3457     			qpnode->dirty = 1;
3458     			if (changed != NULL) {
>>>     CID 487884:    (DEADCODE)
>>>     Execution cannot reach this statement: "changed->dirty = true;".
3459     				changed->dirty = true;
3460     			}
3461     		} else {
3462     			/*
3463     			 * No rdatasets of the given type exist at the node.
3464     			 */
/lib/dns/qpcache.c: 3409 in add()
3403     			}
3404     			newheader->next = topheader->next;
3405     			newheader->down = topheader;
3406     			topheader->next = newheader;
3407     			qpnode->dirty = 1;
3408     			if (changed != NULL) {
>>>     CID 487884:    (DEADCODE)
>>>     Execution cannot reach this statement: "changed->dirty = true;".
3409     				changed->dirty = true;
3410     			}
3411     			mark_ancient(header);
3412     			if (sigheader != NULL) {
3413     				mark_ancient(sigheader);
3414
2024-03-14 10:42:30 +00:00
..
2024-02-26 12:02:40 +11:00
2023-10-13 14:44:40 +02:00
2024-03-08 15:36:56 -08:00
2023-09-12 16:14:10 +02:00
2024-02-14 13:24:56 +01:00
2024-03-08 15:36:56 -08:00
2024-03-08 15:36:56 -08:00
2024-01-25 15:37:40 +01:00
2024-02-14 13:24:56 +01:00
2024-02-08 08:01:58 +01:00
2024-03-13 10:58:24 +01:00
2024-03-08 15:36:56 -08:00
2024-02-14 13:24:56 +01:00
2023-09-12 16:14:10 +02:00
2023-10-13 09:57:28 +00:00
2024-03-08 15:36:56 -08:00
2024-03-08 15:36:56 -08:00
2024-03-13 17:15:18 -07:00
2024-03-06 09:57:24 +01:00
2024-03-13 17:15:18 -07:00
2023-08-31 22:08:35 +02:00
2023-10-09 13:29:02 -07:00
2023-08-31 22:08:35 +02:00
2023-10-13 14:44:40 +02:00
2023-11-21 14:48:43 +11:00
2024-01-05 11:16:12 +01:00
2024-01-25 14:48:07 +01:00