diff options
author | Andy Wingo <wingo@igalia.com> | 2017-08-18 11:28:02 +0200 |
---|---|---|
committer | Andy Wingo <wingo@igalia.com> | 2017-08-18 11:31:28 +0200 |
commit | ed464f48efd80e6439441d7a9f6d0e7988fb1272 (patch) | |
tree | 1464385bca764cad4414f90605c35cffcc458562 /nix/libutil/util.hh | |
parent | 842e0e439a22081be1b4fed7ddc21d6d228afd10 (diff) | |
download | guix-ed464f48efd80e6439441d7a9f6d0e7988fb1272.tar guix-ed464f48efd80e6439441d7a9f6d0e7988fb1272.tar.gz |
nix: Remove unused function.
* nix/libutil/util.hh:
* nix/libutil/util.cc (decodeOctalEscaped): Remove unused and buggy function.
Diffstat (limited to 'nix/libutil/util.hh')
-rw-r--r-- | nix/libutil/util.hh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/nix/libutil/util.hh b/nix/libutil/util.hh index e84d64d10a..6a6e07c478 100644 --- a/nix/libutil/util.hh +++ b/nix/libutil/util.hh @@ -356,12 +356,6 @@ string parseString(std::istream & str); bool endOfList(std::istream & str); -/* Escape a string that contains octal-encoded escape codes such as - used in /etc/fstab and /proc/mounts (e.g. "foo\040bar" decodes to - "foo bar"). */ -string decodeOctalEscaped(const string & s); - - /* Exception handling in destructors: print an error message, then ignore the exception. */ void ignoreException(); |