refactor: remove unnecessary local variables

This commit is contained in:
Aleksey Kulikov 2021-10-12 19:21:58 +03:00
parent cfa5268af2
commit 20ca75639d
48 changed files with 446 additions and 237 deletions

View file

@ -52,6 +52,7 @@ class Tag {
oidPointer: target.pointer,
type: targetType.value,
);
final result = bindings.create(
repoPointer: repo.pointer,
tagName: tagName,
@ -62,6 +63,7 @@ class Tag {
);
object_bindings.free(object);
return Oid(result);
}