diff options
author | Sean Bright <sean@malleable.com> | 2009-01-14 19:58:03 +0000 |
---|---|---|
committer | Sean Bright <sean@malleable.com> | 2009-01-14 19:58:03 +0000 |
commit | 22a3b2ca8dd3a91fdafe2ee9ae5ae089f6c7dee4 (patch) | |
tree | 52c228c9adb2141d0c3d44548673076e37c2e183 | |
parent | e4e99fcd7c65b3d1c4cd7c179f48d1dba798b040 (diff) |
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 #13906)
Reported by: tzafrir
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5659 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r-- | hdlctest.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -173,9 +173,9 @@ int main(int argc, char *argv[]) unsigned int olddata1; int oldones1; int oldbits1; - unsigned int olddata; - int oldones; - int oldbits; + unsigned int olddata = 0; + int oldones = 0; + int oldbits = 0; int hdlcmode = 0; struct fasthdlc_state fs; if (argc < 2) { |