[asterisk-bugs] [DAHDI-tools 0013906]: uninialized values in hdlctest.c
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Jan 14 13:58:04 CST 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13906
======================================================================
Reported By: tzafrir
Assigned To: sruffell
======================================================================
Project: DAHDI-tools
Issue ID: 13906
Category: Utilities
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 2008-11-16 12:33 CST
Last Modified: 2009-01-14 13:58 CST
======================================================================
Summary: uninialized values in hdlctest.c
Description:
'make hdlctest' gives the following warnings:
hdlctest.c: In function ‘main’:
hdlctest.c:163: warning: ‘oldones’ may be used uninitialized in this
function
hdlctest.c:162: warning: ‘olddata’ may be used uninitialized in this
function
hdlctest.c:164: warning: ‘oldbits’ may be used uninitialized in this
function
Those values look indeed uninitialized. Does this program actually work?
======================================================================
----------------------------------------------------------------------
(0097794) svnbot (reporter) - 2009-01-14 13:58
http://bugs.digium.com/view.php?id=13906#c97794
----------------------------------------------------------------------
Repository: dahdi
Revision: 5659
U tools/trunk/hdlctest.c
------------------------------------------------------------------------
r5659 | seanbright | 2009-01-14 13:58:03 -0600 (Wed, 14 Jan 2009) | 6
lines
Fix some uninitialized variable warnings that were causing hdlctest to not
compile. Tested the program as well and it appears to work correctly.
(closes issue http://bugs.digium.com/view.php?id=13906)
Reported by: tzafrir
------------------------------------------------------------------------
http://svn.digium.com/view/dahdi?view=rev&revision=5659
Issue History
Date Modified Username Field Change
======================================================================
2009-01-14 13:58 svnbot Checkin
2009-01-14 13:58 svnbot Note Added: 0097794
======================================================================
More information about the asterisk-bugs
mailing list