diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-02-22 22:53:49 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-02-22 22:53:49 +0000 |
commit | 6204abdae2f51fd8e23702532c3a4e93002396e1 (patch) | |
tree | c3e6c9f1df9f8d9321bbbd0d8108548d64f706dd /channels | |
parent | fdd33866b438de919356cb5bb30a811ecb0e66f9 (diff) |
merge rizzo's patch to make compiler warnings stop the build, and fix a bunch of warnings found
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r-- | channels/Makefile | 2 | ||||
-rw-r--r-- | channels/chan_sip.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/channels/Makefile b/channels/Makefile index 6613a49f7..8ebcfc54b 100644 --- a/channels/Makefile +++ b/channels/Makefile @@ -222,7 +222,7 @@ chan_nbs.so: chan_nbs.o $(CC) $(SOLINK) -o $@ $< -lnbs chan_vpb.o: chan_vpb.c - $(CXX) -c $(CFLAGS) -o $@ chan_vpb.c + $(CXX) -c $(CFLAGS:-Werror=) -o $@ chan_vpb.c chan_vpb.so: chan_vpb.o $(CXX) $(SOLINK) -o $@ $< -lvpb -lpthread -lm -ldl diff --git a/channels/chan_sip.c b/channels/chan_sip.c index d1229e7d9..bf11e5790 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -12097,7 +12097,7 @@ static struct sip_peer *build_peer(const char *name, struct ast_variable *v, int int obproxyfound=0; int found=0; int format=0; /* Ama flags */ - time_t regseconds; + time_t regseconds = 0; char *varname = NULL, *varval = NULL; struct ast_variable *tmpvar = NULL; struct ast_flags peerflags = {(0)}; |