Skip to content

Commit

Permalink
Fixed compile warnings
Browse files Browse the repository at this point in the history
(cherry picked from commit 5c27f46)

Conflicts:
	utils/db_berkeley/bdb_recover.c
  • Loading branch information
bogdan-iancu committed May 7, 2014
1 parent b1ac844 commit 0f1181a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions ip_addr.h
Expand Up @@ -322,6 +322,8 @@ static inline void su2ip_addr(struct ip_addr* ip, union sockaddr_union* su)
#endif
default:
LM_CRIT("Unknown address family %d\n", su->s.sa_family);
ip->af=0;
ip->len=0;
}
}

Expand Down
6 changes: 3 additions & 3 deletions utils/db_berkeley/bdb_recover.c
Expand Up @@ -815,12 +815,12 @@ table_p create_table(char *_s)
*/
int load_metadata_columns(table_p _tp, char* line)
{
int ret,n,len;
int n,len;
char *s = NULL;
char cn[64], ct[16];
column_p col;
ret = n = len = 0;
n = len = 0;

if(!_tp) return -1;
if(_tp->ncols!=0) return 0;

Expand Down

0 comments on commit 0f1181a

Please sign in to comment.