diff options
author | Haru <haru@dotalux.com> | 2020-02-10 01:56:54 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2020-02-10 01:56:54 +0100 |
commit | 1000b1002648980d015c3a14ffc303bbb32e3718 (patch) | |
tree | 827cc2e17621fe07441529c98182d74483e89978 /tools/HPMHookGen | |
parent | 38df067b0348e15f4344bcc3f29f546674aa3ca8 (diff) | |
download | hercules-1000b1002648980d015c3a14ffc303bbb32e3718.tar.gz hercules-1000b1002648980d015c3a14ffc303bbb32e3718.tar.bz2 hercules-1000b1002648980d015c3a14ffc303bbb32e3718.tar.xz hercules-1000b1002648980d015c3a14ffc303bbb32e3718.zip |
Fix warnings in the HPMHookGenerator
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'tools/HPMHookGen')
-rwxr-xr-x | tools/HPMHookGen/HPMHookGen.pl | 2 | ||||
-rw-r--r-- | tools/HPMHookGen/doxygen.conf | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/HPMHookGen/HPMHookGen.pl b/tools/HPMHookGen/HPMHookGen.pl index 35c83f367..3cb81eeb2 100755 --- a/tools/HPMHookGen/HPMHookGen.pl +++ b/tools/HPMHookGen/HPMHookGen.pl @@ -244,6 +244,8 @@ sub parse($$) { $rtinit = ' = DB_OPT_BASE'; } elsif ($x =~ /^enum\s+thread_priority$/) { # Known enum thread_priority $rtinit = ' = THREADPRIO_NORMAL'; + } elsif ($x =~ /^enum\s+market_buy_result$/) { # Known enum market_buy_result + $rtinit = ' = MARKET_BUY_RESULT_ERROR'; } elsif ($x eq 'DBComparator' or $x eq 'DBHasher' or $x eq 'DBReleaser') { # DB function pointers $rtinit = ' = NULL'; } elsif ($x =~ /^(?:struct|union)\s+.*$/) { # Structs and unions diff --git a/tools/HPMHookGen/doxygen.conf b/tools/HPMHookGen/doxygen.conf index c302f7f2f..ead1deeca 100644 --- a/tools/HPMHookGen/doxygen.conf +++ b/tools/HPMHookGen/doxygen.conf @@ -282,12 +282,10 @@ GENERATE_TAGFILE = ALLEXTERNALS = NO EXTERNAL_GROUPS = NO EXTERNAL_PAGES = YES -PERL_PATH = /usr/bin/perl #--------------------------------------------------------------------------- # Configuration options related to the dot tool #--------------------------------------------------------------------------- CLASS_DIAGRAMS = NO -MSCGEN_PATH = DIA_PATH = HIDE_UNDOC_RELATIONS = YES HAVE_DOT = NO |