diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2012-07-15 20:28:30 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-07-15 20:28:30 -0300 |
commit | d9d420e77e27c4d2a4a888b67b838a1e9a8bc30b (patch) | |
tree | 2bc5b2c2dfb7a0cdd9b590b9339a32f2d11fbcf1 /src/ofono.h | |
parent | 0d4e80c002c8d178aecbe92d5e9c900ede501803 (diff) | |
download | ofono-d9d420e77e27c4d2a4a888b67b838a1e9a8bc30b.tar.bz2 |
ofono: Avoid shadowing other atom variables
Diffstat (limited to 'src/ofono.h')
-rw-r--r-- | src/ofono.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ofono.h b/src/ofono.h index 48e819c7..aca81b45 100644 --- a/src/ofono.h +++ b/src/ofono.h @@ -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, |