Adrien Destugues 24a34a5ee5 fts: fix unused-but-set variable
This warning happens on Haiku because we don't have DT_DIR and the
dt_type field in dirent. The FreeBSD code has a partial ifdef for that,
but it is missing in some places, leading to an unused but set variable.

Completely disable the variable when DT_DIR is missing.

Change-Id: I274799b0d25e2df27758fcf4452567879aed8e10
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6764
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2023-07-29 16:26:09 +00:00
..
2023-07-29 16:26:09 +00:00
2023-06-28 07:11:17 +00:00
2023-02-10 18:00:44 +00:00