Reconcile: Fix clang warning
authorOlivier Goffart <ogoffart@woboq.com>
Thu, 9 Apr 2015 13:06:48 +0000 (15:06 +0200)
committerOlivier Goffart <ogoffart@woboq.com>
Thu, 9 Apr 2015 13:06:48 +0000 (15:06 +0200)
commitc917251e9ebeeaf798ebe2096b9f86af6d8040c6
tree5111ed36479568f86a4559af00208ec317f56146
parentc805c5d6e9722728ef484c0c70bf14d8d9673336
Reconcile: Fix clang warning

csync_reconcile.c:159:26: warning: address of array 'tmp->path' will always evaluate to 'true' [-Wpointer-bool-conversion]
                if( tmp->path ) {
                ~~  ~~~~~^~~~

csync_file_stat_s::path is an array so it is never null
What was meant here is to check if the string was not empty
csync/src/csync_reconcile.c