Skip to content
This repository has been archived by the owner on Oct 11, 2020. It is now read-only.

Fix warning: ignoring return value of function declared with 'warn_unused_result' attribute #603

Open
Croydon opened this issue Jul 31, 2018 · 0 comments

Comments

@Croydon
Copy link
Contributor

Croydon commented Jul 31, 2018

/inexor/inexor/ui/layer/InexorLayerProvider.hpp:52:13: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
GetCurrentDir(base_path, sizeof(base_path));
^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/inexor/inexor/ui/layer/InexorLayerProvider.hpp:14:23: note: expanded from macro 'GetCurrentDir'
#define GetCurrentDir getcwd

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant