diff options
author | Nable 80 <nable.maininbox@googlemail.com> | 2015-01-03 20:47:51 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2015-01-03 20:47:51 (GMT) |
commit | ad968e32b30ee6262574bc3e02b20d5b117f5b88 (patch) | |
tree | 723a33fd5e22ae3aae3ffd2b1eb526abf17e3269 /src/WinClient.cc | |
parent | 90f2fcf031554577ce811e7f7151f2a78ea7a265 (diff) | |
download | fluxbox-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/WinClient.cc')
0 files changed, 0 insertions, 0 deletions