forked from mirror/go-sqlite3
Fix overshadowing of entrypoint variable.
This commit is contained in:
parent
4120733fec
commit
92f580b350
|
@ -68,7 +68,7 @@ func (c *SQLiteConn) loadExtension(lib string, entry *string) error {
|
|||
|
||||
var centry *C.char
|
||||
if entry != nil {
|
||||
centry := C.CString(*entry)
|
||||
centry = C.CString(*entry)
|
||||
defer C.free(unsafe.Pointer(centry))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue