forked from xeodou/go-sqlcipher
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I compiled the image and executed the sample you included at xeodou#34. I encountered the following warning in the terminal every time I ran the code—this occurred with both your sample and my own code, on my Mac and within the container.
Just to ask if this is expected behavior
# github.com/ValentinMontmirail/go-sqlcipher
sqlite3-binding.c: In function 'sqlite3SelectNew':
sqlite3-binding.c:130289:10: warning: function may return address of local variable [-Wreturn-local-addr]
130289 | return pNew;
| ^~~~
sqlite3-binding.c:130249:10: note: declared here
130249 | Select standin;
| ^~~~~~~Metadata
Metadata
Assignees
Labels
No labels