mirror of
https://github.com/hasherezade/pe-sieve.git
synced 2026-10-12 02:15:22 +00:00
[BUFIX] Fixed invalid variable name. Removed redundant enum value
This commit is contained in:
@@ -93,7 +93,6 @@ class t_results_filter(ctypes.c_int):
|
||||
SHOW_SUSPICIOUS_AND_ERRORS = 5
|
||||
SHOW_SUCCESSFUL_ONLY = 6
|
||||
SHOW_ALL = 7
|
||||
SHOW_FILTERS_MAX = 8
|
||||
|
||||
class t_report_type(ctypes.c_int):
|
||||
REPORT_NONE = 0
|
||||
|
||||
@@ -36,7 +36,6 @@ namespace pesieve {
|
||||
SHOW_SUSPICIOUS_AND_ERRORS = SHOW_ERRORS | SHOW_SUSPICIOUS,
|
||||
SHOW_SUCCESSFUL_ONLY = SHOW_NOT_SUSPICIOUS | SHOW_SUSPICIOUS,
|
||||
SHOW_ALL = SHOW_ERRORS | SHOW_NOT_SUSPICIOUS | SHOW_SUSPICIOUS,
|
||||
SHOW_FILTERS_MAX ///< terminator of the list of filters
|
||||
} t_results_filter;
|
||||
|
||||
typedef enum {
|
||||
|
||||
@@ -88,7 +88,7 @@ public:
|
||||
if (enumParam) {
|
||||
this->addParam(enumParam);
|
||||
this->setInfo(PARAM_RESULTS_FILTER, "Define what type of results are reported.");
|
||||
for (size_t i = SHOW_SUSPICIOUS; i < SHOW_FILTERS_COUNT; i++) {
|
||||
for (size_t i = SHOW_SUSPICIOUS; i <= SHOW_ALL; i++) {
|
||||
t_results_filter mode = (t_results_filter)(i);
|
||||
std::string info = translate_results_filter(mode);
|
||||
if (info.empty()) continue;
|
||||
|
||||
Reference in New Issue
Block a user