Change in osmo-mgw[master]: [DO NOT MERGE] test commit to trigger linter

osmith gerrit-no-reply at lists.osmocom.org
Wed Jun 16 13:52:14 UTC 2021


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-mgw/+/24697 )


Change subject: [DO NOT MERGE] test commit to trigger linter
......................................................................

[DO NOT MERGE] test commit to trigger linter

Change-Id: Id144b17283b9b73bc62e411c99ea10dc385e9435
---
M src/osmo-mgw/mgw_main.c
1 file changed, 11 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/97/24697/1

diff --git a/src/osmo-mgw/mgw_main.c b/src/osmo-mgw/mgw_main.c
index d30378d..ce68927 100644
--- a/src/osmo-mgw/mgw_main.c
+++ b/src/osmo-mgw/mgw_main.c
@@ -95,6 +95,17 @@
 /* used by msgb and mgcp */
 void *tall_mgw_ctx = NULL;
 
+/* intentionally write code that doesn't follow coding guidelines
+ * to trigger the linter */
+int lint_should_complain_here (char* str)
+{
+	if(str)
+	{
+		printf("using some weird syntax\n");
+		printf ("to get complaints by linter\n ");
+	} 
+}
+
 static void print_help()
 {
 	printf("Some useful options:\n");

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/24697
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: Id144b17283b9b73bc62e411c99ea10dc385e9435
Gerrit-Change-Number: 24697
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210616/c3076d12/attachment.htm>


More information about the gerrit-log mailing list