mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
solaris: dir: remove accidental dirent type reference
This commit is contained in:
parent
e7a96a7175
commit
2123bfce25
1 changed files with 2 additions and 0 deletions
|
@ -131,7 +131,9 @@ lws_dir(const char *dirpath, void *user, lws_dir_callback_function cb)
|
|||
}
|
||||
|
||||
for (i = 0; i < n; i++) {
|
||||
#if !defined(__sun)
|
||||
unsigned int type = namelist[i]->d_type;
|
||||
#endif
|
||||
if (strchr(namelist[i]->d_name, '~'))
|
||||
goto skip;
|
||||
lde.name = namelist[i]->d_name;
|
||||
|
|
Loading…
Add table
Reference in a new issue