mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-23 16:42:35 +00:00
Get rid of compiler warnings
git-svn-id: http://svn.osgeo.org/postgis/trunk@14078 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
2cf6ac98d6
commit
78d849bacd
|
@ -173,9 +173,7 @@ int rules_add_rule(RULES *rules, int num, int *rule) {
|
|||
w ;
|
||||
SYMB a ,
|
||||
t ;
|
||||
SYMB *rule_start ,
|
||||
*r ,
|
||||
*r_s ;
|
||||
SYMB *rule_start , *r ;
|
||||
NODE u ;
|
||||
NODE **Trie ;
|
||||
KW *keyw ,
|
||||
|
@ -193,7 +191,7 @@ int rules_add_rule(RULES *rules, int num, int *rule) {
|
|||
/* get local copies of stuff saved in RULES */
|
||||
o_l = rules -> r_p -> output_link ;
|
||||
k_s = rules -> r_p -> key_space ;
|
||||
r_s = rules -> r_p -> rule_space ;
|
||||
|
||||
Trie = rules -> Trie ;
|
||||
r = rules -> r ;
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ int rules_add_rule_from_str(RULES *rules, char *rule);
|
|||
int rules_ready(RULES *rules);
|
||||
void rules_free(RULES *rules);
|
||||
|
||||
STANDARDIZER *std_init();
|
||||
STANDARDIZER *std_init(void);
|
||||
int std_use_lex(STANDARDIZER *std, LEXICON *lex);
|
||||
int std_use_gaz(STANDARDIZER *std, LEXICON *gaz);
|
||||
int std_use_rules(STANDARDIZER *std, RULES *rules);
|
||||
|
|
|
@ -947,7 +947,6 @@ static void combine_lexemes( STAND_PARAM *s_p ,
|
|||
struct morph * morph_p ,
|
||||
DEF *d ) {
|
||||
/* -- combine the current Lexeme with the previous one -- */
|
||||
int n ;
|
||||
LEXEME *CurLexVector, *PrevLexVector ;
|
||||
|
||||
/* -- find the two lexemes to combine -- */
|
||||
|
@ -956,7 +955,7 @@ static void combine_lexemes( STAND_PARAM *s_p ,
|
|||
PrevLexVector -> EndMorph = CurLexVector -> EndMorph ; /* the new end */
|
||||
PrevLexVector -> Text[ 0 ] = SENTINEL ;
|
||||
|
||||
n = phrase_from_morphs( morph_p ,
|
||||
phrase_from_morphs( morph_p ,
|
||||
PrevLexVector -> Text ,
|
||||
PrevLexVector -> StartMorph ,
|
||||
PrevLexVector -> EndMorph ) ;
|
||||
|
|
Loading…
Reference in a new issue