search for: g_gnuc_unus

Displaying 8 results from an estimated 8 matches for "g_gnuc_unus".

Did you mean: g_gnuc_unused
2020 Jun 01
2
virt-v2v: error: redefinition of 'glib_autoptr_clear_OsinfoList'
...t' 1028 | #define _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) glib_autoptr_clear_##TypeName | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1044:36: note: in expansion of macro '_GLIB_AUTOPTR_CLEAR_FUNC_NAME' 1044 | static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) (TypeName *_ptr) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1061:3: note: in expansion of macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS' 1061 | _GLIB...
2020 Jun 01
0
Re: virt-v2v: error: redefinition of 'glib_autoptr_clear_OsinfoList'
...#define _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) glib_autoptr_clear_##TypeName > | ^~~~~~~~~~~~~~~~~~~ > /usr/include/glib-2.0/glib/gmacros.h:1044:36: note: in expansion of macro '_GLIB_AUTOPTR_CLEAR_FUNC_NAME' > 1044 | static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) (TypeName *_ptr) \ > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/glib-2.0/glib/gmacros.h:1061:3: note: in expansion of macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS' >...
2007 Mar 22
2
Patches to Fix Warnings
I've been looking at packaging swfdec on my Fedora 6 system. Unfortunately since a git source checkout compiles with -Werror I've been having problems because of all of the unused parameter warnings. I've developed some patches that eliminate the problem by marking all of the unused parameters with __attribute__ ((unused)). The attribute markings are all macroized so if you
2007 Mar 20
0
9 commits - configure.ac libswfdec/swfdec_bits.c libswfdec/swfdec_debug.c libswfdec/swfdec_js.c libswfdec/swfdec_script.c libswfdec/swfdec_sound.c
...less now. diff --git a/libswfdec/swfdec_js.c b/libswfdec/swfdec_js.c index 3e96503..5ec2303 100644 --- a/libswfdec/swfdec_js.c +++ b/libswfdec/swfdec_js.c @@ -68,16 +68,6 @@ static JSClass global_class = { JS_EnumerateStub,JS_ResolveStub,JS_ConvertStub,JS_FinalizeStub }; -static JSTrapStatus G_GNUC_UNUSED -swfdec_js_debug_one (JSContext *cx, JSScript *script, jsbytecode *pc, - jsval *rval, void *closure) -{ - if (g_getenv ("SWFDEC_JS") && g_str_equal (g_getenv ("SWFDEC_JS"), "trace")) - js_Disassemble1 (cx, script, pc, pc - script->code, - JS_TRUE,...
2007 Nov 28
0
59 commits - libswfdec-gtk/swfdec_gtk_widget.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_button.c libswfdec/swfdec_button.h libswfdec/swfdec_button_movie.c libswfdec/swfdec_button_movie.h libswfdec/swfdec_event.c
.../libswfdec/swfdec_button_movie.c index 3ceae26..0a8a50c 100644 --- a/libswfdec/swfdec_button_movie.c +++ b/libswfdec/swfdec_button_movie.c @@ -229,46 +229,56 @@ swfdec_button_movie_init_movie (SwfdecMovie *mov) swfdec_button_movie_set_state (movie, SWFDEC_BUTTON_UP); } -#if 0 -static gboolean G_GNUC_UNUSED -swfdec_button_movie_mouse_in (SwfdecMovie *movie, double x, double y) +static gboolean +swfdec_button_movie_hit_test (SwfdecButtonMovie *button, double x, double y) { - GList *walk; + SwfdecSwfDecoder *dec; + GSList *walk; double tmpx, tmpy; - SwfdecButton *button = SWFDEC_BUTTON_MOVIE (...
2007 Jan 22
0
Branch 'interpreter' - 3 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_swf_decoder.c test/Makefile.am test/swfedit.c test/swfedit_file.c test/swfedit_file.h test/swfedit_tag.c test/swfedit_tag.h test/swfedit_token.c test/swfedit_token.h
...s *bits, GError **error) +{ + SwfdecBuffer *next; + + next = swf_parse_header1 (file, bits, error); + if (next == NULL) + return FALSE; + swfdec_bits_init (bits, next); + swf_parse_header2 (file, bits); + + while (swfdec_bits_left (bits)) { + guint x = swfdec_bits_get_u16 (bits); + G_GNUC_UNUSED guint tag = (x >> 6) & 0x3ff; + guint tag_len = x & 0x3f; + SwfdecBuffer *buffer; + SwfeditTag *item; + char *name; + if (tag_len == 0x3f) + tag_len = swfdec_bits_get_u32 (bits); + if (tag_len > 0) + buffer = swfdec_bits_get_buffer (bits, tag_len); +...
2008 Jan 07
0
12 commits - configure.ac doc/swfdec.types Makefile.am test/crashfinder.c test/dump.c test/Makefile.am test/swfdec-extract.c test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_file.c test/swfedit_file.h test/swfedit_list.c test/swfedit_list.h
...s *bits, GError **error) -{ - SwfdecBuffer *next; - - next = swf_parse_header1 (file, bits, error); - if (next == NULL) - return FALSE; - swfdec_bits_init (bits, next); - swf_parse_header2 (file, bits); - - while (swfdec_bits_left (bits)) { - guint x = swfdec_bits_get_u16 (bits); - G_GNUC_UNUSED guint tag = (x >> 6) & 0x3ff; - guint tag_len = x & 0x3f; - SwfdecBuffer *buffer; - SwfeditTag *item; - - if (tag_len == 0x3f) - tag_len = swfdec_bits_get_u32 (bits); - if (tag == 0) - break; - if (tag_len > 0) - buffer = swfdec_bits_get_buffer (b...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...s *bits, GError **error) +{ + SwfdecBuffer *next; + + next = swf_parse_header1 (file, bits, error); + if (next == NULL) + return FALSE; + swfdec_bits_init (bits, next); + swf_parse_header2 (file, bits); + + while (swfdec_bits_left (bits)) { + guint x = swfdec_bits_get_u16 (bits); + G_GNUC_UNUSED guint tag = (x >> 6) & 0x3ff; + guint tag_len = x & 0x3f; + SwfdecBuffer *buffer; + SwfeditTag *item; + char *name; + if (tag_len == 0x3f) + tag_len = swfdec_bits_get_u32 (bits); + if (tag_len > 0) + buffer = swfdec_bits_get_buffer (bits, tag_len); +...