! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
[PATCH] Fix compiler warning about shadow 'basename' in thunar-file.c
Status:
RESOLVED: FIXED

Comments

Description Matt32 2015-03-02 21:58:57 CET
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]
Comment 1 Harald Judt editbugs 2015-03-06 19:18:40 CET
Thanks for the patch. Pushed to master in: http://git.xfce.org/xfce/thunar/commit/?id=ef818ad57eb84735e35805348a6924e94879add7

Bug #11633

Reported by:
Matt32
Reported on: 2015-03-02
Last modified on: 2015-03-06

People

Assignee:
Xfce Bug Triage
CC List:
3 users

Version

Version:
unspecified

Attachments

Additional information