modem-helpers: remove useless checks on always true condition

mm-modem-helpers.c:3075:31: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits]
     g_return_val_if_fail (idx >= 0, NULL);
                               ^
This commit is contained in:
Ben Chan
2018-10-27 10:09:51 +02:00
committed by Aleksander Morgado
parent b76db60313
commit 737eff557d
-1
View File
@@ -3072,7 +3072,6 @@ cind_response_new (const gchar *desc, guint idx, gint min, gint max)
gchar *p;
g_return_val_if_fail (desc != NULL, NULL);
g_return_val_if_fail (idx >= 0, NULL);
r = g_malloc0 (sizeof (MM3gppCindResponse));