]> granicus.if.org Git - sudo/commitdiff
Avoid compilation error on Solaris 10 with Stun Studio 12.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 1 Nov 2015 22:08:50 +0000 (15:08 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 1 Nov 2015 22:08:50 +0000 (15:08 -0700)
Bug #727

plugins/sudoers/timestamp.c

index 77f5f236ced21c79cb6c450c6542701234961717..15ea13bcb596938080b3b0b4f15169952f4e641e 100644 (file)
@@ -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);
 }
 
 /*