Remove unused parameter in OpenOndisk
This commit is contained in:
parent
8b368063e9
commit
92ebf4515c
|
@ -344,7 +344,7 @@ func (c *Config) OpenLevel(parent *Config, level ConfigLevel) (*Config, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// OpenOndisk creates a new config instance containing a single on-disk file
|
// OpenOndisk creates a new config instance containing a single on-disk file
|
||||||
func OpenOndisk(parent *Config, path string) (*Config, error) {
|
func OpenOndisk(path string) (*Config, error) {
|
||||||
cpath := C.CString(path)
|
cpath := C.CString(path)
|
||||||
defer C.free(unsafe.Pointer(cpath))
|
defer C.free(unsafe.Pointer(cpath))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue