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-03-08 15:36:56 -08:00
2024-02-26 12:02:40 +11:00
2023-10-13 14:44:40 +02:00
2023-11-29 14:16:20 +01:00
2024-03-08 15:36:56 -08:00
2024-03-08 15:36:56 -08:00
2023-11-14 08:59:48 +00:00
2024-03-06 10:49:02 +01: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-03-04 16:34:14 +01:00
2023-09-13 14:31:43 +10:00
2024-03-08 15:36:56 -08:00
2024-01-25 15:37:40 +01:00
2023-09-24 18:07:40 +02:00
2024-02-14 13:24:56 +01:00
2024-01-25 14:48:07 +01:00
2023-09-28 00:32:44 -07:00
2024-02-08 08:01:58 +01:00
2023-08-31 12:53:32 -07:00
2023-08-31 22:08:35 +02:00
2023-10-13 14:44:40 +02:00
2023-08-31 22:08:35 +02:00
2024-01-25 14:41:25 +01:00
2024-01-25 14:47:43 +01:00
2024-03-13 10:58:24 +01:00
2024-01-25 15:37:40 +01:00
2023-09-28 00:32:44 -07:00
2024-03-08 15:36:56 -08:00
2024-03-08 15:36:56 -08:00
2023-12-06 17:31:38 -08:00
2024-02-14 13:24:56 +01:00
2023-09-12 16:14:10 +02:00
2023-09-28 00:32:44 -07:00
2023-09-18 13:38:27 +10:00
2023-12-21 20:12:09 +11:00
2023-10-13 09:57:28 +00:00
2024-02-08 08:01:58 +01:00
2024-01-25 14:48:07 +01:00
2023-09-01 12:01:20 +10:00
2024-01-25 14:48:07 +01:00
2023-10-17 17:47:46 +02:00
2023-12-20 17:21:14 +01:00
2023-09-28 00:32:39 -07:00
2024-03-08 15:36:56 -08:00
2024-03-08 15:36:56 -08:00
2024-03-14 10:42:30 +00:00
2024-03-06 20:57:31 -08:00
2024-03-13 17:15:18 -07:00
2024-03-08 15:36:49 -08:00
2024-03-13 17:15:18 -07:00
2024-02-29 11:23:03 +01:00
2024-03-06 09:57:24 +01:00
2024-03-13 17:15:18 -07:00
2023-09-01 12:01:19 +10:00
2023-08-31 22:08:35 +02:00
2024-03-13 23:04:56 +00:00
2023-08-31 22:08:35 +02:00
2024-02-07 09:52:32 +11:00
2024-02-13 09:21:49 +11:00
2024-03-06 10:08:30 +11:00
2024-03-06 10:49:02 +01:00
2023-10-09 13:29:02 -07:00
2023-08-31 22:08:35 +02:00
2023-08-31 12:53:32 -07:00
2023-10-13 14:44:40 +02:00
2023-11-21 14:48:43 +11:00
2024-01-12 13:27:59 +02:00
2024-01-05 11:16:12 +01:00
2024-01-25 14:41:25 +01:00
2024-03-12 09:10:41 +01:00
2023-12-06 15:15:25 +02:00
2024-03-08 15:36:56 -08:00
2024-01-25 14:48:07 +01:00
2024-03-08 15:36:56 -08:00
2023-08-31 22:08:35 +02:00
2023-09-28 00:32:44 -07:00