summaryrefslogtreecommitdiffstats
path: root/lingucomponent
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-05-21 12:22:51 +0200
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2017-05-21 16:15:31 +0200
commitc8d8b9b70e91090af2ed138283be42734b4d5748 (patch)
tree433edae955fd22445fae41ce4d75d4700d732f04 /lingucomponent
parentofz: check for null para (diff)
downloadcore-c8d8b9b70e91090af2ed138283be42734b4d5748.tar.gz
core-c8d8b9b70e91090af2ed138283be42734b4d5748.zip
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')
-rw-r--r--lingucomponent/source/languageguessing/simpleguesser.cxx17
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;