SQLite Forum

warning: function may return address of local variable [-Wreturn-local-addr]
Login
From the code it looks like the variable's **address** value is used as a sentinel; it's read-only, used as a const value. As such it is thread-safe.

Moreover, static variable's address will be const by definition.