From d9d420e77e27c4d2a4a888b67b838a1e9a8bc30b Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 15 Jul 2012 20:28:30 -0300 Subject: ofono: Avoid shadowing other atom variables --- src/ofono.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ofono.h') 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, -- cgit v1.2.3