chiark / gitweb /
basic/fs-util: remove logically dead code
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 9 May 2018 23:55:05 +0000 (01:55 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
commit0053a470b479dffce7b4a3b3b58181831f8980e3
tree50c01e249379c5e2b504f0bfb1481258c4d9174d
parent3ffe330ef2bb6d5ba29a7e700056354e81b847e7
basic/fs-util: remove logically dead code

We can jump to chase_one from two places. In the first 'todo' is set to
'buffer', which comes from path_make_absolute_cwd() and is nonnull In the
second 'todo' is set to 'joined' which is checked to be nonull a few lines
above the jump. So let's kill the code that deals with null todo there.

CID #1390941.
src/basic/fs-util.c