NetworkManager/clients/cli
Thomas Haller 8dc28e4b5e
cli: replace if-else-if construct in nmc_process_connection_properties() by continue
The if-else-if constuct spans many lines and it is not easy to see that
there is no common action after the if-else-if construct.

Instead, at the end of each if-block, just "continue" the loop. This
is similar to a "return-early" apprach and it mean you don't need
to think what happens at the end of the if-block.
2020-11-18 09:56:53 +01:00
..
agent.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
common.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
common.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
connections.c cli: replace if-else-if construct in nmc_process_connection_properties() by continue 2020-11-18 09:56:53 +01:00
connections.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
devices.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
devices.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
general.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
generate-docs-nm-settings-nmcli.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
generate-docs-nm-settings-nmcli.xml.in all: add hostname setting 2020-11-16 16:43:39 +01:00
meson.build build: rename "tools/check-settings-docs.sh" to "check-compare-generated.sh" 2020-11-03 15:41:39 +01:00
nmcli-completion cli: make nmcli do its own command completion 2017-02-13 16:32:15 +01:00
nmcli.c cli: introduce NmcColorPalette struct instead of plain array 2020-10-09 09:52:10 +02:00
nmcli.h cli: introduce NmcColorPalette struct instead of plain array 2020-10-09 09:52:10 +02:00
polkit-agent.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
polkit-agent.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
settings.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
settings.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
utils.c cli: introduce NmcColorPalette struct instead of plain array 2020-10-09 09:52:10 +02:00
utils.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00