projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4586f3
)
Fix compilation warnings (found with dev-mode)
author
Tilghman Lesher
<tilghman@meg.abyt.es>
Sat, 16 Aug 2008 13:07:08 +0000
(13:07 +0000)
committer
Tilghman Lesher
<tilghman@meg.abyt.es>
Sat, 16 Aug 2008 13:07:08 +0000
(13:07 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138412
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_dahdi.c
patch
|
blob
|
history
diff --git
a/channels/chan_dahdi.c
b/channels/chan_dahdi.c
index
07e2212
..
181a875
100644
(file)
--- 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);