comparison simtool/readef.c @ 88:49b7e02787c1

simtool/readef.c: rm unused local variable
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 11 Apr 2021 04:01:21 +0000
parents ddd767f6e15b
children
comparison
equal deleted inserted replaced
87:0e46bbb801e0 88:49b7e02787c1
84 cmd_readef(argc, argv, outf) 84 cmd_readef(argc, argv, outf)
85 char **argv; 85 char **argv;
86 FILE *outf; 86 FILE *outf;
87 { 87 {
88 int file_id, rc; 88 int file_id, rc;
89 unsigned readlen;
90 89
91 if (isxdigit(argv[1][0]) && isxdigit(argv[1][1]) && 90 if (isxdigit(argv[1][0]) && isxdigit(argv[1][1]) &&
92 isxdigit(argv[1][2]) && isxdigit(argv[1][3]) && !argv[1][4]) 91 isxdigit(argv[1][2]) && isxdigit(argv[1][3]) && !argv[1][4])
93 file_id = strtoul(argv[1], 0, 16); 92 file_id = strtoul(argv[1], 0, 16);
94 else 93 else