/soc/2013/ankitkv/gobjectification: ff84e2510bb7: Removed unused...
Ankit Vani
a at nevitus.org
Thu Sep 12 14:59:33 EDT 2013
Changeset: ff84e2510bb71fb91ce75dccb6de8d9ac22f45d9
Author: Ankit Vani <a at nevitus.org>
Date: 2013-09-12 21:55 +0530
Branch: soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/ff84e2510bb7
Description:
Removed unused variable warning
diffstat:
libpurple/plugins.h | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (29 lines):
diff --git a/libpurple/plugins.h b/libpurple/plugins.h
--- a/libpurple/plugins.h
+++ b/libpurple/plugins.h
@@ -309,9 +309,9 @@ void type_name##_register_type(PurplePlu
(GInstanceInitFunc) type_name##_init, \
NULL \
}; \
- type_name##_type_id = purple_plugin_register_type(plugin, TYPE_PARENT, \
- #TypeName, &type_info, (GTypeFlags) flags); \
- type_id = type_name##_type_id; \
+ type_id = purple_plugin_register_type(plugin, TYPE_PARENT, #TypeName, \
+ &type_info, (GTypeFlags) flags); \
+ type_name##_type_id = type_id; \
{ CODE ; } \
} \
}
@@ -346,9 +346,9 @@ GType type_name##_get_type(void) { \
(GInstanceInitFunc) type_name##_init, \
NULL \
}; \
- type_name##_type_id = g_type_register_static(TYPE_PARENT, #TypeName, \
- &type_info, (GTypeFlags) flags); \
- type_id = type_name##_type_id; \
+ type_id = g_type_register_static(TYPE_PARENT, #TypeName, &type_info, \
+ (GTypeFlags) flags); \
+ type_name##_type_id = type_id; \
{ CODE ; } \
} \
return type_name##_type_id; \
More information about the Commits
mailing list