]> git.jsancho.org Git - lugaru.git/commit
Fix unused-result warning for chdir
authorRémi Verschelde <rverschelde@gmail.com>
Wed, 6 Sep 2017 12:31:42 +0000 (14:31 +0200)
committerRémi Verschelde <rverschelde@gmail.com>
Wed, 6 Sep 2017 12:31:42 +0000 (14:31 +0200)
commita8e0e96af3222c42663b3c60158caed20ac46829
tree63b494b09c8212135a9b894f6f4c018c6f9001e5
parent8f8250f231122f66e75fc83506dd51dbce948dd0
Fix unused-result warning for chdir

Fixes this warning:

Source/main.cpp: In function 'void chdirToAppPath(const char*)':
Source/main.cpp:581:14: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result]
         chdir(dir);
         ~~~~~^~~~~
Source/main.cpp