Skip to content

Commit a785ff0

Browse files
neuschaeferabishekvashok
authored andcommitted
Call time(NULL) and remove unused variable (#41)
1 parent d4d9881 commit a785ff0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

cmatrix.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,7 @@ int main(int argc, char *argv[]) {
297297
char *oldtermname;
298298
char *oldterm = NULL;
299299

300-
time_t t;
301-
srand((unsigned) time(&t));
300+
srand((unsigned) time(NULL));
302301

303302

304303
/* Many thanks to morph- (morph@jmss.com) for this getopt patch */

0 commit comments

Comments
 (0)