AmendHub

Download:

jcs

/

subtext

/

amendments

/

374

fidopkt: Remove unused variable, fix bogus return


jcs made amendment 374 about 1 year ago
--- fidopkt.c Tue Mar 7 16:32:47 2023 +++ fidopkt.c Tue Mar 7 22:45:54 2023 @@ -199,7 +199,7 @@ fidopkt_parse(char *packet_filename, char *buf, size_t struct fidopkt *ret; struct tm tm = { 0 }; struct fidopkt_address orig_address, dest_address; - size_t message_len, llen, olen; + size_t message_len, llen; long tzoff; char dmon[6]; short dday, dyear, dhour, dmin, dsec, dutc, n; @@ -607,7 +607,6 @@ fail: if (buf != NULL) xfree(&buf); return 0; - return off; } void