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 Fix docker import tests 2016-05-23 15:34:40 -07:00
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 Use pivot_root instead of chroot for chrootarchive 2016-05-04 19:55:34 -04:00
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 Remove flush(stdout) in pkg/chrootarchive/diff_unix.go and improve error reporting of flush() to fix #21103 2016-03-15 10:29:51 -07:00
init_windows.go