]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
rpcgen: Clarify behaviour for idx
authorJessica Clarke <jrtc27@FreeBSD.org>
Thu, 13 Jul 2023 05:22:52 +0000 (06:22 +0100)
committerJessica Clarke <jrtc27@FreeBSD.org>
Thu, 13 Jul 2023 05:22:59 +0000 (06:22 +0100)
commit9d843ba32496b5713eea53e9e06f09b9377e700e
tree0401220629202b4b4cc89089c42a0a644a380433
parent7cd7a3204153fc8ddf7d06cd0d924d5c3ef5ff35
rpcgen: Clarify behaviour for idx

The re-initialisation of idx in the later else branch is a bit hidden,
and results in deviation from the earlier two paths. Use more consistent
code instead to make it abundantly clear what's going on.
usr.bin/rpcgen/rpc_main.c