From: Todd C. Miller Date: Sun, 1 Nov 2015 22:08:50 +0000 (-0700) Subject: Avoid compilation error on Solaris 10 with Stun Studio 12. X-Git-Tag: SUDO_1_8_16^2~109 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6dad0001d183143fe608b74b268b29723769691;p=sudo Avoid compilation error on Solaris 10 with Stun Studio 12. Bug #727 --- diff --git a/plugins/sudoers/timestamp.c b/plugins/sudoers/timestamp.c index 77f5f236c..15ea13bcb 100644 --- a/plugins/sudoers/timestamp.c +++ b/plugins/sudoers/timestamp.c @@ -354,13 +354,13 @@ ts_fill4(struct timestamp_entry *entry, struct passwd *pw, int flags, bool tty_t static void ts_fill(struct timestamp_entry *entry, struct passwd *pw, int flags) { - return ts_fill4(entry, pw, flags, def_tty_tickets); + ts_fill4(entry, pw, flags, def_tty_tickets); } static void ts_fill_tty(struct timestamp_entry *entry, struct passwd *pw, int flags) { - return ts_fill4(entry, pw, flags, true); + ts_fill4(entry, pw, flags, true); } /*