Remove unused parameter in OpenOndisk

This commit is contained in:
praveen 2018-12-25 08:27:32 +05:30
parent 8b368063e9
commit 92ebf4515c
1 changed files with 1 additions and 1 deletions

View File

@ -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
func OpenOndisk(parent *Config, path string) (*Config, error) {
func OpenOndisk(path string) (*Config, error) {
cpath := C.CString(path)
defer C.free(unsafe.Pointer(cpath))