]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
third_party: init vars for -Og on debian testing
authorVolker Lendecke <vl@samba.org>
Tue, 3 Feb 2026 13:35:20 +0000 (14:35 +0100)
committerAnoop C S <anoopcs@samba.org>
Sun, 15 Feb 2026 10:42:33 +0000 (10:42 +0000)
When building on debian testing with -Og, gcc complains about these
two uninitialized variables. Not sure how to deal with those, I'm
happy to re-fix if a new upstream patch overwrites them.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
third_party/heimdal/lib/base/heimbase.c
third_party/ngtcp2/lib/ngtcp2_acktr.c

index 05add641e019e9dba4efbc7e18231b5eaa429108..ae3ad64a3d5a32592f1cd138b35fdc2e9e5a7a1b 100644 (file)
@@ -918,7 +918,7 @@ heim_path_vcreate(heim_object_t ptr, size_t size, heim_object_t leaf,
     heim_object_t next_path_element = NULL;
     heim_object_t node = ptr;
     heim_object_t next_node = NULL;
-    heim_tid_t node_type;
+    heim_tid_t node_type = 0;
     int ret = 0;
 
     if (ptr == NULL)
index 776dc0c2c3ef1acdccaa6d3f52d28a5a735703d1..9d041a876b4afeea32a826f524ad8e19101b1b03 100644 (file)
@@ -270,7 +270,7 @@ static void acktr_on_ack(ngtcp2_acktr *acktr, ngtcp2_ringbuf *rb,
 }
 
 void ngtcp2_acktr_recv_ack(ngtcp2_acktr *acktr, const ngtcp2_ack *fr) {
-  ngtcp2_acktr_ack_entry *ent;
+  ngtcp2_acktr_ack_entry *ent = NULL;
   int64_t largest_ack = fr->largest_ack, min_ack;
   size_t i, j;
   ngtcp2_ringbuf *rb = &acktr->acks.rb;