sqlite3-binding.c:125322:10: warning: function may return address of local variable
Open
- Dominant language
- Go
- Stars
- 9.5k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
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;
| ^~~~~~~
```
Contributor guide
Assessment
This issue has not been assessed yet.