[systemd-commits] src/journal-remote

Lukas Nykryn lnykryn at kemper.freedesktop.org
Wed Aug 20 05:52:51 PDT 2014


 src/journal-remote/journal-remote.c |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 7a855149eaf6dbd336d9defab5b4a9c70b75d5e6
Author: Lukas Nykryn <lnykryn at redhat.com>
Date:   Wed Aug 20 14:51:27 2014 +0200

    journal-remote: remove unreachable code

diff --git a/src/journal-remote/journal-remote.c b/src/journal-remote/journal-remote.c
index aa659d1..7f422bf 100644
--- a/src/journal-remote/journal-remote.c
+++ b/src/journal-remote/journal-remote.c
@@ -579,7 +579,6 @@ static int request_handler(
                         log_error("MHD_get_connection_info failed: cannot get remote fd");
                         return mhd_respond(connection, MHD_HTTP_INTERNAL_SERVER_ERROR,
                                            "Cannot check remote address");
-                        return code;
                 }
 
                 fd = ci->connect_fd;



More information about the systemd-commits mailing list