[svn-commits] russell: branch russell/sandbox r2979 - in /team/russell/sandbox: ./ wctdm.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu Aug 30 12:04:12 CDT 2007
Author: russell
Date: Thu Aug 30 12:04:12 2007
New Revision: 2979
URL: http://svn.digium.com/view/zaptel?view=rev&rev=2979
Log:
Merged revisions 2977 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.4
........
r2977 | russell | 2007-08-30 12:02:02 -0500 (Thu, 30 Aug 2007) | 4 lines
Remove some code that could never be executed. Instead of fixing the if statement,
I just removed it. The contents of this global array are guaranteed to be zeroed
out for us on load.
........
Modified:
team/russell/sandbox/ (props changed)
team/russell/sandbox/wctdm.c
Propchange: team/russell/sandbox/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Thu Aug 30 12:04:12 2007
@@ -1,1 +1,1 @@
-/branches/1.4:1-2974
+/branches/1.4:1-2978
Modified: team/russell/sandbox/wctdm.c
URL: http://svn.digium.com/view/zaptel/team/russell/sandbox/wctdm.c?view=diff&rev=2979&r1=2978&r2=2979
==============================================================================
--- team/russell/sandbox/wctdm.c (original)
+++ team/russell/sandbox/wctdm.c Thu Aug 30 12:04:12 2007
@@ -2247,12 +2247,7 @@
struct wctdm_desc *d = (struct wctdm_desc *)ent->driver_data;
int x;
int y;
- static int initd_ifaces=0;
- if(initd_ifaces){
- memset((void *)ifaces,0,(sizeof(struct wctdm *))*WC_MAX_IFACES);
- initd_ifaces=1;
- }
for (x=0;x<WC_MAX_IFACES;x++)
if (!ifaces[x]) break;
if (x >= WC_MAX_IFACES) {
More information about the svn-commits
mailing list