# HG changeset patch # User Thinker K.F. Li # Date 1282800921 -28800 # Node ID cedfe4966fd6307f674062cf6090ef52b1ee4209 # Parent 199bac90b90a96cb7f88747692746541d5bca92a Clear unused local variables diff -r 199bac90b90a -r cedfe4966fd6 include/mb_types.h --- a/include/mb_types.h Thu Aug 26 00:16:12 2010 +0800 +++ b/include/mb_types.h Thu Aug 26 13:35:21 2010 +0800 @@ -312,6 +312,8 @@ #define coord_clear_flags(co, _flags) \ do { (co)->flags &= ~(_flags); } while(0) #define coord_get_mouse_event(coord) ((coord)->mouse_event) +#define coord_get_opacity(coord) ((coord)->opacity) +#define coord_set_opacity(coord, v) do { (coord)->opacity = v; } while(0) #define coord_get_aggr_matrix(coord) ((coord)->aggr_matrix) #define coord_get_matrix(coord) ((coord)->matrix) #define FOR_COORDS_POSTORDER(coord, cur) \ diff -r 199bac90b90a -r cedfe4966fd6 nodejs/X_supp_njs.c --- a/nodejs/X_supp_njs.c Thu Aug 26 00:16:12 2010 +0800 +++ b/nodejs/X_supp_njs.c Thu Aug 26 13:35:21 2010 +0800 @@ -81,11 +81,7 @@ void X_njs_MB_init_handle_connection(njs_runtime_t *rt) { void *xrt = rt->xrt; - mb_tman_t *tman; - mb_timeval_t now, tmo; - ev_tstamp tout; int fd; - int r; extern int _X_MB_get_x_conn_for_nodejs(void *rt); /*