NetworkManager/contrib/scripts
Thomas Haller a628a35e80
contrib/checkpatch: try to warn about uninitialized GError variables
When we have a GError* variable on the stack, we usually want to pass
it on to function that can fail. In that case, the variable MUST be
initialized to NULL. This is an easy mistake to make.

Note that this check still can have lots of false positives, for
example, if you have a struct with an GError field. In that case, you
would need to ensure that the entire struct is initialized. Ignore the
warning then.

Also, the check misses if you declare multiple variables on one line.
But that is already discouraged by our style.
2022-03-09 23:14:37 +01:00
..
nm-in-container.d contrib: make it easy to test PPPoE in container script 2021-10-04 15:40:15 +02:00
btmodem.pl all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
checkpatch-feature-branch.sh contrib/scripts: use "main" branch name in "checkpatch-feature-branch.sh" 2021-04-01 22:28:59 +02:00
checkpatch-git-post-commit-hook contrib/scripts: add "checkpatch-git-post-commit-hook" script to contrib/ 2020-02-21 07:40:10 +01:00
checkpatch.pl contrib/checkpatch: try to warn about uninitialized GError variables 2022-03-09 23:14:37 +01:00
code-style-git-post-commit-hook contrib: explicitly pass "-n" to "nm-code-format.sh" in "code-style-git-post-commit-hook" 2021-09-16 08:47:38 +02:00
find-backports contrib: fix "find-backports" script to properly handle "Ignore-Backport" tag 2022-01-05 09:30:16 +01:00
modemu.pl contrib/modemu: extend PDP support 2022-02-04 15:54:15 +01:00
nm-ci-install-valgrind-in-ubuntu1604.sh gitlab-ci: fix workarounds for Ubuntu 16.04 in tests 2020-08-28 14:24:32 +02:00
nm-ci-patch-gtkdoc.sh gitlab-ci: patch gtk-doc to generate valid documentation 2018-12-01 08:55:44 +01:00
nm-ci-run.sh tests/client: run "test-client.py" also for meson 2021-03-15 17:10:56 +01:00
nm-code-format-container.sh contrib/scripts: add Fedora version to podmain container name for "nm-code-format-container.sh" 2022-01-04 21:17:19 +01:00
nm-code-format.sh contrib: reformat by default from "nm-code-format.sh" script 2021-09-16 09:01:50 +02:00
nm-copr-build-nm-git-bundle.sh contrib/scripts: better explain the purpose of nm-git-bundle 2022-01-06 10:01:51 +01:00
nm-copr-build.sh contrib/scripts: update "nm-copr-build.sh" script to use new nm-git-bundle 2022-01-06 10:03:57 +01:00
nm-import-openconnect all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-import-openvpn all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-import-vpnc all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-in-container.sh contrib/scripts: fix package list for Fedora 35 in "nm-in-container.sh" script 2022-01-13 20:05:14 +01:00
NM-log contrib: colorize releasing slave in NM-log 2022-02-23 17:07:16 +01:00
test-create-many-device-setup.sh contrib: extend "test-create-many-device-setup.sh" script 2021-06-22 09:47:44 +02:00
test-macsec tests: use "/run" instead of "/var/run" 2019-05-17 21:24:18 +02:00
test-ppp.sh contrib: add "contrib/scripts/test-ppp.sh" test script 2021-10-04 15:40:15 +02:00
test-prefix-delegation.sh contrib: add script to test IPv6 prefix delegation 2021-07-13 09:43:04 +02:00