[PATCH] osmo-sgsn[master]: gprs_gmm: Convert warning message to pragma message

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Mon Jan 8 10:08:56 UTC 2018


Review at  https://gerrit.osmocom.org/5671

gprs_gmm: Convert warning message to pragma message

This way we can enable -Werror in builds to disallow new compilation
warnings being introduced.

Change-Id: If2b9a618f4219df9e013095beff52c20aacbc79e
---
M src/gprs/gprs_gmm.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/71/5671/1

diff --git a/src/gprs/gprs_gmm.c b/src/gprs/gprs_gmm.c
index f4591f7..bc01681 100644
--- a/src/gprs/gprs_gmm.c
+++ b/src/gprs/gprs_gmm.c
@@ -2808,7 +2808,7 @@
 	switch (pdisc) {
 	case GSM48_PDISC_MM_GPRS:
 		rc = gsm0408_rcv_gmm(mmctx, msg, NULL, false);
-#warning "set drop_cipherable arg for gsm0408_rcv_gmm() from IuPS?"
+#pragma message "set drop_cipherable arg for gsm0408_rcv_gmm() from IuPS?"
 		break;
 	case GSM48_PDISC_SM_GPRS:
 		rc = gsm0408_rcv_gsm(mmctx, msg, NULL);

-- 
To view, visit https://gerrit.osmocom.org/5671
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If2b9a618f4219df9e013095beff52c20aacbc79e
Gerrit-PatchSet: 1
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list