Skip to content

Commit

Permalink
misc: small code style edit
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Jakub Sztandera <[email protected]>
  • Loading branch information
Kubuxu committed Jul 16, 2017
1 parent 3e8e039 commit c0ee7d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions plugin/loader/initializer.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,10 @@ func runIPLDPlugin(pl plugin.Plugin) error {
return nil
}

var err error
err = ipldpl.RegisterBlockDecoders(format.DefaultBlockDecoder)
err := ipldpl.RegisterBlockDecoders(format.DefaultBlockDecoder)
if err != nil {
return err
}

err = ipldpl.RegisterInputEncParsers(coredag.DefaultInputEncParsers)
return err
return ipldpl.RegisterInputEncParsers(coredag.DefaultInputEncParsers)
}
2 changes: 1 addition & 1 deletion test/sharness/t0280-plugin-git.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2016 Jakub Sztandera
# Copyright (c) 2017 Jakub Sztandera
# MIT Licensed; see the LICENSE file in this repository.
#

Expand Down

0 comments on commit c0ee7d6

Please sign in to comment.