Summary: | DAHTOOL-00006: uninialized values in hdlctest.c | ||
Reporter: | Tzafrir Cohen (tzafrir) | Labels: | |
Date Opened: | 2008-11-16 12:33:20.000-0600 | Date Closed: | 2009-01-14 13:58:04.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Utilities |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
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? | ||
Comments: | By: Digium Subversion (svnbot) 2009-01-14 13:58:03.000-0600 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 DAHTOOL-6) Reported by: tzafrir ------------------------------------------------------------------------ http://svn.digium.com/view/dahdi?view=rev&revision=5659 |