[Xfce-bugs] [Bug 11633] New: [PATCH] Fix compiler warning about shadow 'basename' in thunar-file.c

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Mon Mar 2 21:58:57 CET 2015


https://bugzilla.xfce.org/show_bug.cgi?id=11633

            Bug ID: 11633
           Summary: [PATCH] Fix compiler warning about shadow 'basename'
                    in thunar-file.c
    Classification: Xfce
           Product: Thunar
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: Medium
         Component: core
          Assignee: xfce-bugs at xfce.org
          Reporter: matt.59491 at gmail.com
        QA Contact: nick at xfce.org
                CC: benny at xfce.org

The following patch fixes a compiler error about 'basename' in thunar-file.c
with --enable-debug=full

https://gist.github.com/LinuxMatt/2211af1ec5c73e3c533f

thunar-file.c: In function ‘thunar_file_get_thumbnail_path’:
thunar-file.c:3377:14: error: declaration of ‘basename’ shadows a global
declaration [-Werror=shadow]

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list