broadband-modem-qmi: fix -Wempty-body warning
mm-broadband-modem-qmi.c: In function 'process_common_info':
mm-broadband-modem-qmi.c:2897:30: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
/* both apply */ ;
^
Signed-off-by: Justin Standring <justin.standring@taitradio.com>
This commit is contained in:
@@ -2890,8 +2890,9 @@ process_common_info (QmiNasServiceStatus service_status,
|
||||
apply_ps = FALSE;
|
||||
else if (domain == QMI_NAS_NETWORK_SERVICE_DOMAIN_PS)
|
||||
apply_cs = FALSE;
|
||||
else if (domain == QMI_NAS_NETWORK_SERVICE_DOMAIN_CS_PS)
|
||||
else if (domain == QMI_NAS_NETWORK_SERVICE_DOMAIN_CS_PS) {
|
||||
/* both apply */ ;
|
||||
}
|
||||
|
||||
/* Check if we really are roaming or forbidden */
|
||||
if (forbidden_valid && forbidden)
|
||||
|
||||
Reference in New Issue
Block a user