diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-16 13:07:08 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-16 13:07:08 +0000 |
commit | 4bbd698565921964999bda9e96292ba2651df7a3 (patch) | |
tree | 70c037ab32cf1b135f7b7b5839b4a87d62b1c24b /channels | |
parent | c2d44c866aa64a99c997389acdf6f9ea2b0d399f (diff) |
Fix compilation warnings (found with dev-mode)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@138412 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_dahdi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 07e2212fd..181a8751f 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -12000,8 +12000,10 @@ retry: static int setup_dahdi(int reload); static int dahdi_restart(void) { - - int i, j, cancel_code; +#if defined(HAVE_PRI) + int i, j; +#endif + int cancel_code; struct dahdi_pvt *p; ast_mutex_lock(&restart_lock); |