Removed compiler warning, fixed links in readme

This commit is contained in:
BenDroid 2017-10-21 23:09:04 +02:00
parent daaca97ea8
commit e4ccdd000f
3 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
# XMRigCC # XMRigCC
[Build instructions / Notes / Howto](https://raw.githubusercontent.com/Bendr0id/xmrigCC/feature_cc/howto_and_notes.txt) [Build instructions / Notes / Howto](https://raw.githubusercontent.com/Bendr0id/xmrigCC/master/howto_and_notes.txt)
Documentation will be added here soon. Documentation will be added here soon.
@ -51,7 +51,7 @@ Originally based on cpuminer-multi with heavy optimizations/rewrites and removin
## Download ## Download
* Binary releases: soon * Binary releases: soon
* Git tree: https://github.com/Bendr0id/xmrigCC.git * Git tree: https://github.com/Bendr0id/xmrigCC.git
* Clone with `git clone https://github.com/Bendr0id/xmrigCC.git` :hammer: [Build instructions / Notes / Howto](https://raw.githubusercontent.com/Bendr0id/xmrigCC/feature_cc/howto_and_notes.txt). * Clone with `git clone https://github.com/Bendr0id/xmrigCC.git` :hammer: [Build instructions / Notes / Howto](https://raw.githubusercontent.com/Bendr0id/xmrigCC/master/howto_and_notes.txt).
## Usage ## Usage
### Basic example ### Basic example

View file

@ -97,13 +97,13 @@ Options:\n"
--cc-client-config-folder=FOLDER Folder contains the client config files\n\ --cc-client-config-folder=FOLDER Folder contains the client config files\n\
--cc-custom-dashboard=FILE loads a custom dashboard and serve it to '/'\n" --cc-custom-dashboard=FILE loads a custom dashboard and serve it to '/'\n"
# endif # endif
"\ "\
--no-color disable colored output\n" --no-color disable colored output\n"
# ifdef HAVE_SYSLOG_H # ifdef HAVE_SYSLOG_H
"\ "\
-S, --syslog use system log for output messages\n" -S, --syslog use system log for output messages\n"
# endif # endif
"\ "\
-B, --background run the miner in the background\n\ -B, --background run the miner in the background\n\
-c, --config=FILE load a JSON-format configuration file\n\ -c, --config=FILE load a JSON-format configuration file\n\
-l, --log-file=FILE log all output to a file\n\ -l, --log-file=FILE log all output to a file\n\

View file

@ -117,7 +117,6 @@ private:
int getAlgoVariantLite() const; int getAlgoVariantLite() const;
# endif # endif
const char* m_configFile;
bool m_background; bool m_background;
bool m_colors; bool m_colors;
@ -127,6 +126,7 @@ private:
bool m_safe; bool m_safe;
bool m_syslog; bool m_syslog;
bool m_daemonized; bool m_daemonized;
const char* m_configFile;
char *m_apiToken; char *m_apiToken;
char *m_apiWorkerId; char *m_apiWorkerId;
char *m_logFile; char *m_logFile;