cfssl icon indicating copy to clipboard operation
cfssl copied to clipboard

sqlite3-binding.c:125322:10: warning: function may return address of local variable

Open ng0177 opened this issue 5 years ago • 0 comments

Hi, should I be concerned or save to ignore? Thanks!

[pi@raspi ~]$ go get -u github.com/cloudflare/cloudflared/cmd/cloudflared
# github.com/cloudflare/cloudflared/vendor/github.com/mattn/go-sqlite3
sqlite3-binding.c: In function ‘sqlite3SelectNew’:
sqlite3-binding.c:125322:10: warning: function may return address of local variable [-Wreturn-local-addr]
125322 |   return pNew;
       |          ^~~~
sqlite3-binding.c:125282:10: note: declared here
125282 |   Select standin;
       |          ^~~~~~~

ng0177 avatar Apr 29 '20 07:04 ng0177