aboutsummaryrefslogtreecommitdiff
path: root/src/Xinerama.hh
diff options
context:
space:
mode:
authorNable 80 <nable.maininbox@googlemail.com>2015-01-03 20:47:51 (GMT)
committerMathias Gumz <akira@fluxbox.org>2015-01-03 20:47:51 (GMT)
commitad968e32b30ee6262574bc3e02b20d5b117f5b88 (patch)
tree723a33fd5e22ae3aae3ffd2b1eb526abf17e3269 /src/Xinerama.hh
parent90f2fcf031554577ce811e7f7151f2a78ea7a265 (diff)
downloadfluxbox-ad968e32b30ee6262574bc3e02b20d5b117f5b88.zip
fluxbox-ad968e32b30ee6262574bc3e02b20d5b117f5b88.tar.bz2
Fix to make clang happy
POSIX states that 'd_name' in 'struct dirent' is char[], so it cannot be NULL. This will result in the compiler complainting about an expression which always evaluates to true ... for this compiler (clang). But in some implementations 'd_name' is a 'char*' that's why it's better to keep the check for possible NULL.
Diffstat (limited to 'src/Xinerama.hh')
0 files changed, 0 insertions, 0 deletions