]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
lgtm: disable cpp/missing-return 22711/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 11 Mar 2022 08:19:29 +0000 (17:19 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 11 Mar 2022 08:19:32 +0000 (17:19 +0900)
As it does not handle assert_not_reahed() gracefully.

.lgtm.yml

index 86fd0e742c4a154eaa7ac645f913fd3eb4782216..7bdf42310e2cfbac839863fa2066a44afcf62a55 100644 (file)
--- a/.lgtm.yml
+++ b/.lgtm.yml
@@ -4,6 +4,8 @@
 
 # Explicitly enable certain checks which are hidden by default
 queries:
+  - exclude: cpp/missing-return
+    # LGTM does not handle assert_not_reached() gracefully...
   - include: cpp/bad-strncpy-size
   - include: cpp/declaration-hides-variable
   - include: cpp/inconsistent-null-check