ofono: Avoid shadowing other atom variables

This commit is contained in:
Marcel Holtmann 2012-07-15 20:28:30 -03:00
parent 0d4e80c002
commit d9d420e77e
1 changed files with 2 additions and 2 deletions

View File

@ -188,10 +188,10 @@ struct ofono_modem *__ofono_atom_get_modem(struct ofono_atom *atom);
#define __ofono_atom_find(enum_type, modem) \
({ \
struct ofono_atom *atom = \
struct ofono_atom *tmp_atom = \
__ofono_modem_find_atom(modem, enum_type); \
\
atom ? __ofono_atom_get_data(atom) : NULL; \
tmp_atom ? __ofono_atom_get_data(tmp_atom) : NULL; \
})
void __ofono_atom_register(struct ofono_atom *atom,