1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/chrootarchive
Daehyeok Mun 6306019d0b Refactoring ineffectual assignments
This patch fixed below 4 types of code line
1. Remove unnecessary variable assignment
2. Use variables declaration instead of explicit initial zero value
3. Change variable name to underbar when variable not used
4. Add erro check and return for ignored error

Signed-off-by: Daehyeok Mun <daehyeok@gmail.com>
2017-01-13 00:27:01 -07:00
..
archive.go
archive_test.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
archive_unix.go
archive_windows.go
chroot_linux.go Fix issue with cp to container volume dir 2016-11-03 16:01:15 -04:00
chroot_unix.go
diff.go pkg/archive: remove unnecessary Archive and Reader type 2016-10-20 19:31:24 -07:00
diff_unix.go Refactoring ineffectual assignments 2017-01-13 00:27:01 -07:00
diff_windows.go Use wrong ApplyLayer in diff_windows.go 2016-12-19 17:21:18 +08:00
init_unix.go
init_windows.go