commit | 439cfde55b0e3ecb030de9ea1181fcc6a1f9b9c7 | [log] [tgz] |
---|---|---|
author | Lukas Tribus <luky-37@hotmail.com> | Tue Dec 10 08:32:56 2013 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Dec 10 08:50:55 2013 +0100 |
tree | e47c89bba5ca5154063acb52508a2878b715c610 | |
parent | 6bbb2f68cda9854995fc8d726f93afc7350519cd [diff] |
BUILD/MINOR: systemd: fix compiler warning about unused result There is a compiler warning after commit 1b6e75fa84 ("MEDIUM: haproxy- systemd-wrapper: Use haproxy in same directory"): src/haproxy-systemd-wrapper.c: In function ‘locate_haproxy’: src/haproxy-systemd-wrapper.c:28:10: warning: ignoring return value of ‘readlink’, declared with attribute warn_unused_result [-Wunused-result] Fix the compiler warning by checking the return value of readlink().