Re: [PATCH 1/2] modem-helpers: remove useless checks on always true condition

2018-10-27 Thread Aleksander Morgado
On 10/27/18 8:00 AM, Ben Chan wrote: > 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); > Pushed, thanks. ^ > --- > src/mm-modem-helpers.c | 1 - > 1 fil

[PATCH 1/2] modem-helpers: remove useless checks on always true condition

2018-10-26 Thread Ben Chan
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); ^ --- src/mm-modem-helpers.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mm-modem-helpers.c b/src/mm