Snippets for snapper 0.13.0 from Fedora ppc64le
Sourced from https://kojipkgs.fedoraproject.org/packages/snapper/0.13.0/5.fc46/data/logs/ppc64le/build.log.
-
FileUtils.cc:509:18: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 509 | chdir("/"); | ~~~~~^~~~~ -
FileUtils.cc:545:18: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 545 | chdir("/"); | ~~~~~^~~~~ -
FileUtils.cc:600:18: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 600 | chdir("/"); | ~~~~~^~~~~ -
FileUtils.cc:604:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 604 | chdir("/"); | ~~~~~^~~~~ -
FileUtils.cc:629:18: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 629 | chdir("/"); | ~~~~~^~~~~ -
FileUtils.cc:633:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 633 | chdir("/"); | ~~~~~^~~~~ -
FileUtils.cc:680:22: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 680 | 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
cmd-create.cc:196:23: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 196 | system(command.c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~ -
/usr/include/c++/16/bits/new_allocator.h:183:66: warning: 'operator delete' called on pointer '__result' with nonzero offset 32 [-Wfree-nonheap-object] 183 | _GLIBCXX_OPERATOR_DELETE(_GLIBCXX_SIZED_DEALLOC(__p, __n)); | ^ -
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 {} \\;"); | ~~~~~~~~~~~~~~~~~~~~~ -
sysconfig-get1.cc:57:11: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 57 | system("cp sysconfig-set1.txt sysconfig-set1.txt.tmp"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~