summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Koegel <eric.koegel@gmail.com>2017-05-06 15:39:59 +0300
committerEric Koegel <eric.koegel@gmail.com>2017-05-06 15:39:59 +0300
commitd2a3f8b1b60555193adbe115de7e8b0968a048c8 (patch)
tree867f0316a16f4d41a8bfbd31ab8614256874317a
parent22e54c5fc8376a4e29da1b5b6cd1684d81ee185a (diff)
downloadConsoleKit2-d2a3f8b1b60555193adbe115de7e8b0968a048c8.tar.gz
trivial: fix a gcc compiler warning
-rw-r--r--tools/ck-remove-directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ck-remove-directory.c b/tools/ck-remove-directory.c
index a482e1d..9473f5f 100644
--- a/tools/ck-remove-directory.c
+++ b/tools/ck-remove-directory.c
@@ -96,7 +96,7 @@ remove_dest_dir (const gchar *dest)
{
int ret;
- if (ret = nftw(dest, unlink_cb, 64, FTW_DEPTH | FTW_PHYS)) {
+ if ((ret = nftw(dest, unlink_cb, 64, FTW_DEPTH | FTW_PHYS))) {
return ret;
}