refactor: remove unnecessary git_libgit2_init()

This commit is contained in:
Aleksey Kulikov 2021-09-27 12:05:18 +03:00
parent b5561212e0
commit b15b56f0ae
5 changed files with 9 additions and 14 deletions

View file

@ -12,9 +12,7 @@ class Config with IterableMixin<ConfigEntry> {
/// pointer to config object in memory.
///
/// Should be freed with `free()` to release allocated memory.
Config(this._configPointer) {
libgit2.git_libgit2_init();
}
Config(this._configPointer);
/// Initializes a new instance of [Config] class from provided [path].
///