comparison simtool/saverestore.c @ 118:b563ff1c1a2a

simtool/saverestore.c: rm unused variable
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 28 Jan 2021 04:11:28 +0000
parents fa7005185b84
children c77b0d4cf89f
comparison
equal deleted inserted replaced
117:06e2d5c60cbd 118:b563ff1c1a2a
50 50
51 cmd_savebin(argc, argv) 51 cmd_savebin(argc, argv)
52 char **argv; 52 char **argv;
53 { 53 {
54 int file_id, rc; 54 int file_id, rc;
55 unsigned readlen;
56 FILE *of; 55 FILE *of;
57 56
58 if (isxdigit(argv[1][0]) && isxdigit(argv[1][1]) && 57 if (isxdigit(argv[1][0]) && isxdigit(argv[1][1]) &&
59 isxdigit(argv[1][2]) && isxdigit(argv[1][3]) && !argv[1][4]) 58 isxdigit(argv[1][2]) && isxdigit(argv[1][3]) && !argv[1][4])
60 file_id = strtoul(argv[1], 0, 16); 59 file_id = strtoul(argv[1], 0, 16);