Skip to content

Commit

Permalink
Fixed compile warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan-iancu committed May 7, 2014
1 parent 861c4c4 commit 5c27f46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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
4 changes: 2 additions & 2 deletions utils/db_berkeley/bdb_recover.c
Expand Up @@ -815,11 +815,11 @@ 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 5c27f46

Please sign in to comment.