From 6bd1ccf3436db69d0f993231599159e56913802f Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Wed, 29 Apr 2026 19:29:49 +0200 Subject: [PATCH] fix missing break in ipxparse NCP handler --- tools/ipxparse.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tools/ipxparse.c b/tools/ipxparse.c index 0f61f33..0ba4777 100644 --- a/tools/ipxparse.c +++ b/tools/ipxparse.c @@ -328,6 +328,11 @@ handle_burst(struct sockaddr_ipx *source, struct sockaddr_ipx *target, unsigned char *buf, int length, int no) { + (void)source; + (void)target; + (void)length; + (void)no; + struct ncp_burst_header *rq = (struct ncp_burst_header *) buf; if (rq->type != NCP_BURST_PACKET) @@ -377,6 +382,8 @@ handle_ncp(struct sockaddr_ipx *source, struct sockaddr_ipx *target, unsigned char *buf, int length, int no) { + (void)no; + struct ncp_request_header *rq = (struct ncp_request_header *) buf; struct ncp_reply_header *rs = (struct ncp_reply_header *) buf; unsigned char *data = NULL; @@ -975,6 +982,8 @@ handle_ncp(struct sockaddr_ipx *source, break; } } + break; + default: printf("fn: %-3d\n", rq->function); }