amatrix

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
git clone git://git.kocotian.pl/amatrix.git
Log | Files | Refs | README | LICENSE

commit a785ff02b4df5cc25a5e22f57c1ae91d4c16a67a
parent d4d98810c52e2a20f551cf707cdbdac9e6ad74bc
Author: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Date:   Mon,  5 Mar 2018 13:52:55 +0100

Call time(NULL) and remove unused variable (#41)


Diffstat:
Mcmatrix.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/cmatrix.c b/cmatrix.c @@ -297,8 +297,7 @@ int main(int argc, char *argv[]) { char *oldtermname; char *oldterm = NULL; - time_t t; - srand((unsigned) time(&t)); + srand((unsigned) time(NULL)); /* Many thanks to morph- (morph@jmss.com) for this getopt patch */