Remove unused parameter in OpenOndisk #256 #469

Merged
praveentiru merged 2 commits from pty/issue#256 into master 2019-01-02 15:33:11 -06:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 92ebf4515c - Show all commits

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 // 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))