From 5c8d24241503e8ec3be8ff186a3683c16bb9f196 Mon Sep 17 00:00:00 2001 From: Andrew Whitwham Date: Mon, 8 Jun 2026 14:23:23 +0100 Subject: [PATCH] Remove references to FAI_CACHE. Removed mentions of FAI_CACHE from comments. FAI_CACHE never seems to have existed in production code. Fixes #2032. Signed-off-by: Andrew Whitwham --- htslib/faidx.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htslib/faidx.h b/htslib/faidx.h index 4351b3fbe..6110c9434 100644 --- a/htslib/faidx.h +++ b/htslib/faidx.h @@ -136,7 +136,7 @@ faidx_t *fai_load3(const char *fn, const char *fnfai, const char *fngzi, /** @param fn File name of the FASTA file @return Pointer to a faidx_t struct on success, NULL on failure. -This function is equivalent to fai_load3(fn, NULL, NULL, FAI_CREATE|FAI_CACHE); +This function is equivalent to fai_load3(fn, NULL, NULL, FAI_CREATE); */ HTSLIB_EXPORT faidx_t *fai_load(const char *fn); @@ -168,7 +168,7 @@ faidx_t *fai_load3_format(const char *fn, const char *fnfai, const char *fngzi, @param format FASTA or FASTQ file format @return Pointer to a faidx_t struct on success, NULL on failure. -This function is equivalent to fai_load3_format(fn, NULL, NULL, FAI_CREATE|FAI_CACHE, format); +This function is equivalent to fai_load3_format(fn, NULL, NULL, FAI_CREATE, format); */ HTSLIB_EXPORT faidx_t *fai_load_format(const char *fn, enum fai_format_options format);