aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <>2023-01-04 11:58:36 +0000
committerdrh <>2023-01-04 11:58:36 +0000
commitcef97068cd7d602e4b905d2394f815f29eba2b4a (patch)
treeb98c2314a18a4ef436a00793ca98759ba04c1613 /src/sqliteInt.h
parent373d34d6103aa2a621d1f8669de726b6776e9a70 (diff)
downloadsqlite-cef97068cd7d602e4b905d2394f815f29eba2b4a.tar.gz
sqlite-cef97068cd7d602e4b905d2394f815f29eba2b4a.zip
Remove the unused "sqlite3StackAllocZero()" macro.
FossilOrigin-Name: f0ca57207e9f3ab401264498f65c249b479d9e0da7158e001b002584ac67dd0a
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 322cac1d6..c96aeca55 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -4496,13 +4496,11 @@ int sqlite3HeapNearlyFull(void);
#ifdef SQLITE_USE_ALLOCA
# define sqlite3StackAllocRaw(D,N) alloca(N)
# define sqlite3StackAllocRawNN(D,N) alloca(N)
-# define sqlite3StackAllocZero(D,N) memset(alloca(N), 0, N)
# define sqlite3StackFree(D,P)
# define sqlite3StackFreeNN(D,P)
#else
# define sqlite3StackAllocRaw(D,N) sqlite3DbMallocRaw(D,N)
# define sqlite3StackAllocRawNN(D,N) sqlite3DbMallocRawNN(D,N)
-# define sqlite3StackAllocZero(D,N) sqlite3DbMallocZero(D,N)
# define sqlite3StackFree(D,P) sqlite3DbFree(D,P)
# define sqlite3StackFreeNN(D,P) sqlite3DbFreeNN(D,P)
#endif