Snippets for snapper 0.13.1 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/l3pfa6d3llv201km4zdrnmqjz7x4m631-snapper-0.13.1.drv.
-
FileUtils.cc:522:18: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 522 | chdir("/"); | ~~~~~^~~~~ -
FileUtils.cc:558:18: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 558 | chdir("/"); | ~~~~~^~~~~ -
FileUtils.cc:613:18: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 613 | chdir("/"); | ~~~~~^~~~~ -
FileUtils.cc:617:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 617 | chdir("/"); | ~~~~~^~~~~ -
FileUtils.cc:642:18: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 642 | chdir("/"); | ~~~~~^~~~~ -
FileUtils.cc:646:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 646 | chdir("/"); | ~~~~~^~~~~ -
DBusMainLoop.cc:130:29: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 130 | read(wakeup_pipe[0], &arbitrary, 1); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
DBusMainLoop.cc:291:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 291 | write(s->wakeup_pipe[1], &arbitrary, 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mksubvolume.cc:143:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 143 | system("/usr/bin/udevadm settle --timeout 20"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
installation-helper.cc:122:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 122 | system(("/bin/cp " + tmp_mount.getFullname() + "/etc/snapper/configs/root " + ris + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 123 | "/etc/snapper/configs").c_str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
common.cc:32:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 32 | system("/usr/bin/find " SUBVOLUME " -mindepth 1 -maxdepth 1 -not -path " SUBVOLUME "/.snapshots " | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 | "-exec rm -r {} \\;"); | ~~~~~~~~~~~~~~~~~~~~~