SQLite Forum

warning: function may return address of local variable [-Wreturn-local-addr]
Login
Why not just declare `standin` static, properly initialized?

You don't intend to return its value, just testing the address in assert. This should silence the warning.