aboutsummaryrefslogtreecommitdiff
path: root/src/utf.c
diff options
context:
space:
mode:
authordrh <>2025-04-08 20:00:33 +0000
committerdrh <>2025-04-08 20:00:33 +0000
commitfda6e50ac86bfd926c0bd42cf350e743cfdf5bca (patch)
tree741971119f897c2727e280aa7a9a7213374bb3ef /src/utf.c
parentde93449908e8d7b82517f4ccef7886a1a68d1019 (diff)
downloadsqlite-fda6e50ac86bfd926c0bd42cf350e743cfdf5bca.tar.gz
sqlite-fda6e50ac86bfd926c0bd42cf350e743cfdf5bca.zip
Remove an incorrect ALWAYS() macro. [forum:/forumpost/23875495059357a2|Forum post 2025-04-08T19:16:42Z].
FossilOrigin-Name: 062cca9c63ef6d7b9a525df69391e9b032284703aeb45a18c728305dd5957c43
Diffstat (limited to 'src/utf.c')
-rw-r--r--src/utf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utf.c b/src/utf.c
index 57700bf20..e24e1586b 100644
--- a/src/utf.c
+++ b/src/utf.c
@@ -555,7 +555,7 @@ int sqlite3Utf16ByteLen(const void *zIn, int nByte, int nChar){
int n = 0;
if( SQLITE_UTF16NATIVE==SQLITE_UTF16LE ) z++;
- while( n<nChar && ALWAYS(z<=zEnd) ){
+ while( n<nChar && z<=zEnd ){
c = z[0];
z += 2;
if( c>=0xd8 && c<0xdc && z<=zEnd && z[0]>=0xdc && z[0]<0xe0 ) z += 2;