[MERGED] libosmo-sccp[master]: sccp_scrc: Fix warning: uneeded constant evaulation

2017-06-21 Thread Harald Welte
Harald Welte has submitted this change and it was merged. Change subject: sccp_scrc: Fix warning: uneeded constant evaulation .. sccp_scrc: Fix warning: uneeded constant evaulation translate function is always present in the sa

libosmo-sccp[master]: sccp_scrc: Fix warning: uneeded constant evaulation

2017-06-21 Thread Harald Welte
Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/2993 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I48a711f3a43496e2c0c637f34f56784f765938c4 Gerrit-PatchSet: 1 Gerrit-Project: libosmo-sccp Gerrit-Branch: master Ge

[PATCH] libosmo-sccp[master]: sccp_scrc: Fix warning: uneeded constant evaulation

2017-06-21 Thread Pau Espin Pedrol
Review at https://gerrit.osmocom.org/2993 sccp_scrc: Fix warning: uneeded constant evaulation translate function is always present in the same file, thus we can remove this check. Fixes following warning: warning: the address of ‘translate’ will always evaluate as ‘true’ [-Waddress] if (tr