Andreas Tille pushed to branch upstream at Debian Med / htscodecs


Commits:
8ebedcf1 by Andreas Tille at 2026-09-16T14:11:17+02:00
New upstream version 1.6.7
- - - - -


4 changed files:

- NEWS.md
- configure.ac
- htscodecs/htscodecs.h
- htscodecs/tokenise_name3.c


Changes:

=====================================
NEWS.md
=====================================
@@ -1,3 +1,16 @@
+Release 1.6.7: 24th June 2026
+-----------------------------
+
+This is a trivial release containing a single new commit removing a
+harmless compiler warning.  (The primary purpose of a release is to
+ensure htslib is using a released and tagged htscodecs submodule.)
+
+Bug fixes
+
+- Remove an unused variable detected by gcc 16.
+  (PR #148: James Bonfield)
+
+
 Release 1.6.6: 11th January 2026
 --------------------------------
 


=====================================
configure.ac
=====================================
@@ -1,5 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT(htscodecs, 1.6.6)
+AC_INIT(htscodecs, 1.6.7)
 
 # Some functions benefit from -O3 optimisation, so if the user didn't
 # explicitly set any compiler flags, we'll plump for O3.
@@ -61,7 +61,7 @@ AM_EXTRA_RECURSIVE_TARGETS([fuzz])
 #       libhtscodecs.so.1.1.0
 
 VERS_CURRENT=3
-VERS_REVISION=11
+VERS_REVISION=12
 VERS_AGE=1
 AC_SUBST(VERS_CURRENT)
 AC_SUBST(VERS_REVISION)


=====================================
htscodecs/htscodecs.h
=====================================
@@ -43,7 +43,7 @@
  * Note currently this needs manually editing as it isn't automatically
  * updated by autoconf.
  */
-#define HTSCODECS_VERSION 100606
+#define HTSCODECS_VERSION 100607
 
 /*
  * A const string form of the HTSCODECS_VERSION define.


=====================================
htscodecs/tokenise_name3.c
=====================================
@@ -475,7 +475,6 @@ static int encode_token_diff(name_context *ctx, uint32_t 
val) {
 // Trie implementation for tracking common name prefixes.
 static
 int build_trie(name_context *ctx, char *data, size_t len, int n) {
-    int nlines = 0;
     size_t i;
     trie_t *t;
 
@@ -486,7 +485,7 @@ int build_trie(name_context *ctx, char *data, size_t len, 
int n) {
     }
 
     // Build our trie, also counting input lines
-    for (nlines = i = 0; i < len; i++, nlines++) {
+    for (i = 0; i < len; i++) {
         t = ctx->t_head;
         t->count++;
         while (i < len && (unsigned char)data[i] > '\n') {
@@ -589,7 +588,6 @@ void dump_trie(trie_t *t, int depth) {
 
 static
 int search_trie(name_context *ctx, char *data, size_t len, int n, int *exact, 
int *is_fixed, int *fixed_len) {
-    int nlines = 0;
     size_t i;
     trie_t *t;
     int from = -1, p3 = -1;
@@ -651,7 +649,7 @@ int search_trie(name_context *ctx, char *data, size_t len, 
int n, int *exact, in
 
     // Find an item in the trie
     int from_punct = from;
-    for (nlines = i = 0; i < len; i++, nlines++) {
+    for (i = 0; i < len; i++) {
         t = ctx->t_head;
         while (i < len && data[i] > '\n') {
             unsigned char c = data[i++];



View it on GitLab: 
https://salsa.debian.org/med-team/htscodecs/-/commit/8ebedcf1ac91ef4d81a9f297949dc4c01d181411

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/htscodecs/-/commit/8ebedcf1ac91ef4d81a9f297949dc4c01d181411
You're receiving this email because of your account on salsa.debian.org. Manage 
all notifications: https://salsa.debian.org/-/profile/notifications | Help: 
https://salsa.debian.org/help


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to