diff options
author | Max Kellermann <max@duempel.org> | 2008-09-10 11:42:30 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-10 11:42:30 +0200 |
commit | 1bb154098dc5b52163ebee2eeb224b736836a936 (patch) | |
tree | 2d27f5909a1fbef6c1932542e43f4008778c4a6c /src/condition.c | |
parent | 48191d5661d1fa312f4e1e44569223ceb7bba596 (diff) | |
download | mpd-1bb154098dc5b52163ebee2eeb224b736836a936.tar.gz mpd-1bb154098dc5b52163ebee2eeb224b736836a936.tar.xz mpd-1bb154098dc5b52163ebee2eeb224b736836a936.zip |
client: client_input_received() returns 0
Since the caller chain doesn't care about the return value (except for
COMMAND_RETURN_KILL, COMMAND_RETURN_CLOSE), just return 0 if there is
nothing special. This saves one local variable initialization, and
one access to it.
Also remove one unreachable "return 1" from client_read().
Diffstat (limited to 'src/condition.c')
0 files changed, 0 insertions, 0 deletions