diff options
author | Björn Gustavsson <[email protected]> | 2016-04-27 16:27:27 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-04-29 09:59:04 +0200 |
commit | 684bc481c72701deb07ed61ee57b4e3cf7730d04 (patch) | |
tree | 89552448c4ab36a32be15691dc84f7b47c1c95a1 /lib/kernel/src/disk_log.hrl | |
parent | 77cad6b3b87e5c073040ec71f42683e8da6847a2 (diff) | |
download | otp-684bc481c72701deb07ed61ee57b4e3cf7730d04.tar.gz otp-684bc481c72701deb07ed61ee57b4e3cf7730d04.tar.bz2 otp-684bc481c72701deb07ed61ee57b4e3cf7730d04.zip |
Clean up make_path()
make_path() returns a tuple whose second element is not used by
any of its caller. Eliminate the tuple.
Also avoid calling filename:dirname/1 when we already have the result
stored in a variable, and avoid calling filename:basename/2 on a
complete path when we already have the last part of the pathname
stored in a variable.
Diffstat (limited to 'lib/kernel/src/disk_log.hrl')
0 files changed, 0 insertions, 0 deletions