diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-05-21 12:22:51 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-05-21 16:15:31 +0200 |
commit | c8d8b9b70e91090af2ed138283be42734b4d5748 (patch) | |
tree | 433edae955fd22445fae41ce4d75d4700d732f04 /lingucomponent/source | |
parent | ebc2abf207c8d903b07f53ecefbca5731edcb1d6 (diff) |
cppcheck: unusedStructMember
Change-Id: I1e2859e7a12a61db953be12f11149aaecb462b5b
Reviewed-on: https://gerrit.libreoffice.org/37871
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'lingucomponent/source')
-rw-r--r-- | lingucomponent/source/languageguessing/simpleguesser.cxx | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/lingucomponent/source/languageguessing/simpleguesser.cxx b/lingucomponent/source/languageguessing/simpleguesser.cxx index d5227edbdc01..589fbeb54f2b 100644 --- a/lingucomponent/source/languageguessing/simpleguesser.cxx +++ b/lingucomponent/source/languageguessing/simpleguesser.cxx @@ -69,23 +69,8 @@ static int startsAsciiCaseInsensitive(const std::string &s1, const std::string & } /** - * This 3 following structures are from fingerprint.c and textcat.c + * This following structure is from textcat.c */ -typedef struct ngram_t { - - sint2 rank; - char str[MAXNGRAMSIZE+1]; - -} ngram_t; - -typedef struct fp_t { - - const char *name; - ngram_t *fprint; - uint4 size; - -} fp_t; - typedef struct textcat_t{ void **fprint; |