]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- avoid compiler warning 276/head
authorArvin Schnell <aschnell@suse.de>
Thu, 6 Oct 2016 09:37:36 +0000 (11:37 +0200)
committerArvin Schnell <aschnell@suse.de>
Thu, 6 Oct 2016 09:37:36 +0000 (11:37 +0200)
snapper/Btrfs.cc

index ff4f3c6debb1e0241bc0b5ed9afca156b9556581..efc6363ae7e1a52c9b43f31d26be9689e0d9b7b8 100644 (file)
@@ -1524,13 +1524,13 @@ namespace snapper
 
        if (!deleted_subvolids.empty())
        {
+#ifdef HAVE_LIBBTRFS
            for (subvolid_t subvolid : deleted_subvolids)
            {
-#ifdef HAVE_LIBBTRFS
                while (!does_subvolume_exist(subvolume_dir.fd(), subvolid))
                    sleep(1);
-#endif
            }
+#endif
 
            deleted_subvolids.clear();