aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorMatthieu Baerts <[email protected]>2022-11-30 15:06:27 +0100
committerJakub Kicinski <[email protected]>2022-12-01 20:06:06 -0800
commit5f17f8e315ad77c7ba45afe169b4598efd5d5bc3 (patch)
tree57f5eec9c958c7f35ad40b629eba2590e3544379 /lib/mpi/mpi-mod.c
parentde2392028a19e6841cd0ef14b9c832a7a2bc3a69 (diff)
selftests: mptcp: declare var as local
Just to avoid classical Bash pitfall where variables are accidentally overridden by other functions because the proper scope has not been defined. That's also what is done in other MPTCP selftests scripts where all non local variables are defined at the beginning of the script and the others are defined with the "local" keyword. Reviewed-by: Mat Martineau <[email protected]> Signed-off-by: Matthieu Baerts <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions