Avoid a compilation warning

This commit is contained in:
Pierre Pronchery 2018-10-26 01:04:54 -03:00
parent 9675ce6ea9
commit 7dadbe1bf3

View File

@ -2859,6 +2859,7 @@ static void _refresh_loop_categories_path(Desktop * desktop, char const * path,
char * name = NULL;
char * p;
MimeHandler * handler;
(void) path;
#if defined(__sun)
if((fd = open(apppath, O_RDONLY)) < 0