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:
committed by
Aleksander Morgado
parent
b76db60313
commit
737eff557d
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user