[Bug 646531] GST_BOILERPLATE: don't use "type" as both a variable name and a macro argument

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Apr 2 07:21:55 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=646531
  GStreamer | gstreamer (core) | unspecified

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.33
            Summary|utils: Avoid using a type   |GST_BOILERPLATE: don't use
                   |name as variable name       |"type" as both a variable
                   |                            |name and a macro argument

--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2011-04-02 14:21:53 UTC ---
Oops :)  Pushed, thanks:

commit 08e189badbeffcce1ee9addbdee7023b676ce6c7
Author: Bastien Nocera <hadess at hadess.net>
Date:   Sat Apr 2 14:51:18 2011 +0100

    utils: Avoid using "type" as name for a variable and a macro argument in
GST_BOILERPLATE

    This caused "re-declaration" problems.
    ./clutter-gst-video-sink.c: In function
‘clutter_gst_video_sink_init_interfaces’:
    ./clutter-gst-video-sink.c:231:1: warning: declaration of
‘ClutterGstVideoSink’ shadows a global declaration [-Wshadow]
    ./clutter-gst-video-sink.h:64:44: warning: shadowed declaration is here
[-Wshadow]

    https://bugzilla.gnome.org/show_bug.cgi?id=646531

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list