Skip to content

Commit

Permalink
[ril] Hosekeeping
Browse files Browse the repository at this point in the history
gcc 8.3 noticed this:

ril_data.c: In function 'ril_data_call_list_equal':
ril_data.c:437:19: warning: self-comparison always evaluates to true [-Wtautological-compare]
    if (l1->version == l1->version && l1->num == l2->num) {
                    ^~
  • Loading branch information
monich committed Nov 22, 2019
1 parent a76f50b commit 8ba2d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ofono/drivers/ril/ril_data.c
Expand Up @@ -434,7 +434,7 @@ static gboolean ril_data_call_list_equal(const struct ril_data_call_list *l1,
if (!l1 && !l2) {
return TRUE;
} else if (l1 && l2) {
if (l1->version == l1->version && l1->num == l2->num) {
if (l1->version == l2->version && l1->num == l2->num) {
GSList *p1 = l1->calls;
GSList *p2 = l2->calls;

Expand Down

0 comments on commit 8ba2d96

Please sign in to comment.