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:
Regina Obe 2015-09-18 06:28:49 +00:00
parent 2cf6ac98d6
commit 78d849bacd
3 changed files with 4 additions and 7 deletions

View file

@ -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 ;

View file

@ -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);

View file

@ -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 ) ;