ref: 3bf8d9c0b71f67970eba6af780b682195fc3c0c2
parent: b7ac99b67ea10e9233812efbf28890f1725ff41e
author: Sigrid Haflínudóttir <[email protected]>
date: Tue Aug 18 12:31:32 EDT 2020
remove useless return value from start(player)
--- a/zuke.c
+++ b/zuke.c
@@ -404,6 +404,13 @@
sendul(player->ctl, Cstop);
}
+static void
+start(Player *player)
+{
+ if(player != nil)
+ sendul(player->ctl, Cstart);
+}
+
static void playerthread(void *player_);
static Player *
@@ -435,14 +442,6 @@
playernext = newplayer(pcur+1, 0);
return player;
-}
-
-static int
-start(Player *player)
-{
- if(player != nil)
- sendul(player->ctl, Cstart);
- return -1;
}
static void